Code Examples for Apache Kafka®
There are many programming languages that provide Kafka client libraries.
The following “Hello, World!” examples are written in various languages to demonstrate how to produce to and consume from an Apache Kafka® cluster, which can be in Confluent Cloud, on your local host, or any other Kafka cluster.
For the subset of languages that support it, the code examples also demonstrate how to use Avro and Confluent Schema Registry.
There are additional examples for Kafka and Confluent Platform command line tools and components: