coding++:kafka问题:zookeeper is not a recognized option zookeeper参数不支持

– zookeeper is not a recognized option主要原因是 Kafka 版本过高,命令不存在。

使用新版本:

./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning

猜你喜欢

转载自www.cnblogs.com/codingmode/p/11981159.html