zookeeper-server-start.bat ....\config\zookeeper.properties
kafka-server-start.bat ....\config\server.properties
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic my-topic --from-beginning
.\bin\windows\kafka-topics.bat --create --topic topic-example --bootstrap-server localhost:9092
To produce msgs: ".\bin\windows\kafka-console-producer.bat --topic topic-example --bootstrap-server localhost:9092" after writing the msg press ctrl+C to save the msg
-
For macOS, the exact command is in this page, https://kafka.apache.org/quickstart