卡夫卡不允许我删除消费者群体

时间:2018-02-01 08:40:53

标签: apache-kafka

我正在尝试删除kafka 10.2.1中的使用者群组:

./kafka-consumer-groups.sh --zookeeper myzkhost --list
consumer-1
consumer-2
...
consumer-n

如果我这样做:

./kafka-consumer-groups.sh --zookeeper myzkhost --delete --group consumer-1
Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).

Error: Delete for group 'consumer-1' failed because group does not exist.

但是当我去我的动物园管理员主持人时:

ls /consumers/consumer-1
[offset]

所有消费者都会这样做......删除那些消费者的zookeeper路径是否安全?

谢谢!

0 个答案:

没有答案