Apache Kafka — Producer API
Jun 16, 2021
Part-1 kafka-producer-api
Github Repository
This application is creating a topic programmatically. Please see AutoCreateTopicConfig.java This repository has the complete code related to Kafka producers/consumers using spring boot. I have used 3 Apache Kafka clusters and 3 replicas in this example. Please see the following server.properties
-rw-r--r-- 1 saurabhshcs admin 6864 19 Feb 23:40 server-1.properties
-rw-r--r-- 1 saurabhshcs admin 6864 19 Feb 23:41 server-2.properties
-rw-r--r-- 1 saurabhshcs admin 6863 17 Feb 22:57 server.properties