kafka consumer zookeeper is not a recognized option

/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

上一篇:用CSS实现加载的动画效果


下一篇:Stream常见操作