启动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启动
阅读 34
2023-06-06
zkserver.\bin\windows\kafka-server-start.bat .\config\server.properties
kafka-console-producer.bat --broker-list localhost:9092 --topic userkafka-console-consumer.bat --bootstrap-server localhost:9092 --topic user
相关推荐
精彩评论(0)