kafka-console-consumer.bat --zookeeper localhost:2181 --topic test后出现“zookeeper is not a recognized option”
因为版本过高,老方法已被弃用,换一个输入方法即可——
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test --from-beginning
解决Kafka高版本消费问题
kafka-console-consumer.bat --zookeeper localhost:2181 --topic test后出现“zookeeper is not a recognized option”
因为版本过高,老方法已被弃用,换一个输入方法即可——
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test --from-beginning
2758

被折叠的 条评论
为什么被折叠?