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

--

--

Technology Enthusiast and Open Source Technology advocate

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store