Use Schema Registry
You can use a sample Kafka client application written in Java, to produce data to and consume data from Kafka topics using schemas stored in the Schema Registry.
Schema Registry provides a shared repository of schemas that allows applications to flexibly interact with each other. Applications frequently need a way to share metadata across data format, schema, and semantics. Schema Registry addresses these challenges by evolving schemas such that a producer and consumer can understand different versions of the schemas but still read all information shared between both versions and safely ignore the rest.
For more information on the topics covered in this section, check the following Cloudera online documentation resources:
-
Connecting Kafka clients to Data Hub provisioned clusters
-
Schema Registry
-
Developing Apache Kafka applications