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

View Setup Apache Kafka Developer guide

Securing your Kafka Cluster using SSL

--

--

SAURABH SHARMA

Technology Enthusiast and Open Source Technology advocate