启动Zookeeper
zkserver
启动服务
.\bin\windows\kafka-server-start.bat .\config\server.properties
启动生产者
kafka-console-producer.bat --broker-list localhost:9092 --topic user
启动消防者监听消息
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic user
kafka启动
阅读 33
2023-06-06
zkserver
.\bin\windows\kafka-server-start.bat .\config\server.properties
kafka-console-producer.bat --broker-list localhost:9092 --topic user
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic user
相关推荐
精彩评论(0)