./kafka-console-consumer.sh --zookeeper 127.0.0.1:2181 --topic test4

kafka consumer zookeeper is not a recognized option

都是坑系列,启动消费者,发现一直报错consumer zookeeper is not a recognized option,搜索了半天

发现这是老的命令行

新时代的命令行是:./kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --topic test4 --from-beginning

kafka consumer zookeeper is not a recognized option

虽然不知道为什么但是很开心,哈哈哈

 

相关文章:

  • 2022-02-24
  • 2022-01-08
  • 2021-08-04
  • 2022-12-23
  • 2021-06-18
  • 2021-08-01
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案