In the previous topic, we have covered about how to setup kafka cluster on windows. Please check the previous topic of Kafka Cluster Setup to understand the setup of kafka cluster so that you can easily create the kafka topic under kafka cluster.
zookeeper-server-start.bat C:\kafka\config\zookeeper.properties
kafka-server-start.bat C:\kafka\config\server.properties
kafka-topics.bat --create --topic first-topic --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
kafka-topics.bat --list --bootstrap-server localhost:9092
In the next topic, you will understand about
Create Kafka Producer In Java