JDBC Driver for Apache Kafka

Build 25.0.9434

SchemaRegistryOnly

Whether to connect only to the schema registry.

Data Type

bool

Default Value

false

Remarks

Enable this option to prevent connections to the Kafka broker. In this mode, the driver does not perform any action that would require a broker connection. Performing any of the following actions in registry-only mode results in an error:

  • SELECT queries (excluding system tables)
  • INSERT statements
  • CREATE TABLE statements
  • CommitOffset
  • ProduceMessage

Note that registry-only mode requires that other properties be set appropriately:

  • TypeDetectionScheme=SchemaRegistry. Any other value requires connecting to the Kafka broker to list tables.
  • ValidateRegistryTopics=false. When this option is enabled, the driver compares the topics in the broker to the subjects in the schema registry.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434