【发布时间】:2018-04-07 17:13:24
【问题描述】:
./bin/kafka-console-consumer.sh --zookeeper 127.0.0.1:2181 --topic test
./bin/kafka-console-producer.sh --broker-list 127.0.0.1:9092 --topic test
为什么要消耗 kakfa 需要 zookeeper? 我可以从经纪人那里消费卡夫卡吗?
【问题讨论】:
-
这是您的答案。请阅读。 stackoverflow.com/questions/27918065/…
-
感谢您的回答。
标签: apache-kafka message-queue apache-zookeeper hadoop2