Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 712 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 712 Bytes

kafka-spring-flow

CMD Commands for Windows

Starting the Zookeeper
D:\kafka>
.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties

Starting the Kafka Server
D:\kafka>
.\bin\windows\kafka-server-start.bat .\config\server.properties

Creating a Topic (Not required as code will do it)
D:\kafka>
.\bin\windows\kafka-server-start.bat .\config\server.properties

List All Created Topics
D:\kafka>
.\bin\windows\kafka-topics.bat --list --bootstrap-server localhost:9092

View Messages Received by a Specific Topic
D:\kafka>
.\bin\windows\kafka-console-consumer.bat --topic order_topics --from-beginning --bootstrap-server localhost:9092