kafka consumer zookeeper is not a recognized option
./kafka-console-consumer.sh --zookeeper 127.0.0.1:2181 --topic test4都是坑系列,启动消费者,发现一直报错consumer zookeeper is not a recognized option,搜索了半天发现这是老的命令行新时代的命令行是:./kafka-console-consumer.sh --bootstr...
·
./kafka-console-consumer.sh --zookeeper 127.0.0.1:2181 --topic test4

都是坑系列,启动消费者,发现一直报错consumer zookeeper is not a recognized option,搜索了半天
发现这是老的命令行
新时代的命令行是:./kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --topic test4 --from-beginning

虽然不知道为什么但是很开心,哈哈哈
更多推荐


所有评论(0)