SchemaRegistryOnly
Specifies whether the provider connects only to the schema registry.
Data Type
bool
Default Value
false
Remarks
When set to true, the driver disables all broker connections and operates only against the schema registry. In this mode, the driver does not perform any operations that requires access to the Apache Kafka broker. Attempting any of the following operations in registry-only mode results in an error:
- SELECT queries (excluding system tables)
- INSERT statements
- CREATE TABLE statements
- CommitOffset
- ProduceMessage
Registry-only mode requires the following configuration settings:
- TypeDetectionScheme must be set to SchemaRegistry. Any other value requires a broker connection to list tables.
- ValidateRegistryTopics must be set to false. When validation is enabled, the driver compares broker topics with registry subjects, which requires connecting to the Apache Kafka broker.