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 provider 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 provider compares the topics in the broker to the subjects in the schema registry.