AllowKeyOnlyRegistryTopics
Specifies whether key-only registry topics are exposed as tables. Only has an effect when TypeDetectionScheme =SchemaRegistry.
Data Type
bool
Default Value
false
Remarks
The provider supports two types of schemas within registries, value schemas and key schemas. By default the provider requires a value schema for all topics. A topic that has only a key schema is not exposed as a table. The key schema is optional and is only used if MessageKeyColumn is set.
When you enable this option, the provider exposes tables that have either a key schema or a value schema (or both). A topic with no value schema returns its message value as a base64 blob. This is similar to the behavior if SerializationFormat=NONE or TypeDetectionScheme=MessageOnly.
Note that this behavior is independent from MessageKeyColumn. Even if this option is set, you must also set MessageKeyColumn if you want to read message key data.