ClickHouse Data Cookbook: Reading JSON from Kafka with Schema Registry

One of the most flexible ways to get data from Kafka into ClickHouse is the Kafka Table Engine . This allows to connect to Kafka in various ways, and it also supports multiple data formats. However, when you use Confluent’s Schema Registry (or a compatible service) to enforce a data contract, support is limited to Avro format . What if one uses JSON with the Schema registry instead? In that case,…