kafka查看消费组报错

版权声明:本文为博主九师兄(QQ群:spark源代码 198279782 欢迎来探讨技术)原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_21383435/article/details/90903131

kafka查看消费组报错

cc@lcc bin$ /Users/lcc/soft/kafka/kafka_2.11-1.1.0/bin/kafka-consumer-groups.sh  --new-consumer --bootstrap-server  localhost:2181,localhost:2182,localhost:2183 --list
The [new-consumer] option is deprecated and will be removed in a future major release.The new consumer is used by default if the [bootstrap-server] option is provided.
Note: This will not show information about old Zookeeper-based consumers.
Error: Executing consumer group command failed due to Request METADATA failed on brokers List(localhost:2182 (id: -2 rack: null), localhost:2183 (id: -3 rack: null), localhost:2181 (id: -1 rack: null))
lcc@lcc bin$ /Users/lcc/soft/kafka/kafka_2.11-1.1.0/bin/kafka-consumer-groups.sh     --zookeeper localhost:2181,localhost:2182,localhost:2183  --list
Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).
lcc@lcc bin$

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/90903131