Skip to content

For supported serialization formats, ksqlDB can integrate with Confluent Schema Registry. ksqlDB automatically retrieves (reads) and registers (writes) schemas as needed, which spares you from defining columns and data types manually in CREATE statements and from manual interaction with Schema Registry. For more information, see Schema Inference.

Configure ksqlDB for Avro, Protobuf, and JSON

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 Installation Instructions. 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.


Last update: 2020-09-02