Configure ksqlDB for Avro, Protobuf, and JSON in ksqlDB for Confluent Platform

ksqlDB integrates with Confluent Schema Registry for supported serialization formats, automatically retrieving and registering schemas so you don’t need to define columns and data types manually in CREATE statements. For more information, see Schema Inference.

You must configure the REST endpoint of Schema Registry by setting ksql.schema.registry.url in the ksqlDB Server configuration file (<path-to-confluent>/etc/ksqldb/ksql-server.properties). For more information, see Configure ksqlDB for Secured Confluent Schema Registry. Schema Registry is included by default with Confluent Platform.

Important

Don’t use the SET statement in the ksqlDB CLI to configure the registry endpoint.