启动Zookeeper
zkserver
启动服务
.binwindowskafka-server-start.bat .configserver.properties
启动生产者
kafka-console-producer.bat --broker-list localhost:9092 --topic user
启动消防者监听消息
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic user