0
点赞
收藏
分享

微信扫一扫

使用kafka解决zookeeper is not a recognized option when executing kafka-console-consumer.sh报错

灯火南山 2022-02-28 阅读 120

完整报错:zookeeper is not a recognized option

解决方法

--zookeeper换为--bootstrap-server

比如:

./bin/kafka-console-consumer.sh --zookeeper localhost:2181

换为:

./bin/kafka-console-consumer.sh --bootstrap-server localhost:2181

问题解析

版本问题

举报

相关推荐

0 条评论