.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-start.bat .\config\server.properties
.\bin\windows\kafka-topics.bat --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --create --topic anil-bomma
.\bin\windows\kafka-topics.bat --zookeeper localhost:2181 --list
.\bin\windows\kafka-topics.bat --zookeeper localhost:2181 --delete --topic anil-bomma
This allows you to send the messages to the topic
.\bin\windows\kafka-console-producer.bat --broker-list localhost:9092 --topic anil-bomma
It will display the messages sent to the topic
.\bin\windows\kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic anil-bomma --from-beginning