Apache kafka 卡夫卡消费团体清理

Apache kafka 卡夫卡消费团体清理,apache-kafka,Apache Kafka,我在测试卡夫卡流媒体应用程序。在测试过程中,应用程序可能在某个时候不干净地退出了,现在我有一些无法摆脱的消费者群体数据 如果我尝试 Kafka-consumer-groups —group testgrp —delete …它给出了以下错误: Error: Deletion of some consumer groups failed: Group ‘testgrp’ could not be deleted due to: java.util.ExecutionException: .org

我在测试卡夫卡流媒体应用程序。在测试过程中,应用程序可能在某个时候不干净地退出了,现在我有一些无法摆脱的消费者群体数据

如果我尝试

Kafka-consumer-groups —group testgrp —delete
…它给出了以下错误:

Error: Deletion of some consumer groups failed:
Group ‘testgrp’ could not be deleted due to: java.util.ExecutionException: .org.apache.kafka.common.errors.GroupNotException: The group is not empty
重置偏移会出现另一个错误,说明:

Assignments can only be reset if the group is  inactive , but the current state is Stable.
当我描述该状态时,它确实显示该状态是稳定的,但我已经确认客户端应用程序已退出,并且没有僵尸进程正在运行


有没有一种方法可以在不删除代理/zookeeper的所有元数据的情况下清理消费者组成员信息和状态?

重新启动代理应该做的事情默认情况下,一周后会自动删除组