我试图通过删除它并让我的脚本稍后重新创建它来重置消费者配置,但我遇到了一个关于新消费者不可删除的错误。
kafka@kafka-0:~$ ./bin/kafka-consumer-groups.sh --bootstrap kafka-0:9092 --delete --group etl
Option '[delete]' is only valid with '[zookeeper]'. Note that there's no need to delete group metadata for the new consumer as the group is deleted when the last committed offset for that group expires.
现在我想知道,从这个错误消息中控制过期的消费者配置选项的名称是什么?
发布于 2017-08-04 22:47:38
配置实际上是一个代理配置,它决定将提交的偏移量保留多长时间:offsets.retention.minutes
。您可能还希望根据您选择的保留值来调整offsets.retention.check.interval.ms
。(reference)
https://stackoverflow.com/questions/45515994
复制相似问题