I have a large number of consumer groups created in Kafka. When I check the status most of them are with Empty status and without active consumers.
I have two questions
- Automatic deletion of consumer group is supported in Kafka and can we configure a time period to delete the empty consumer groups?
- Is there any specific Kafka version which supports automatic deletion of empty Consumer groups?
offsets.retention.minutes
is a broker config. The docs dont say "group is deleted"; it says its offsets expire (which cause it not to be in the topic anymore, and therefore cannot be found when queried) – OneCricketeer