Will a Consumer Group Without Active Consumers Be Automatically Deleted in 14 Days?
Yes.
Kafka uses the offsets.retention.minutes parameter to control how long to keep offsets for a consumer group. If offsets are not committed within this period, they will be deleted. The default value of offsets.retention.minutes is 20,160 minutes (14 days).
If Kafka determines that there are no active consumers in a consumer group (for example, when the consumer group is empty) and there are no offsets, Kafka will delete the consumer group.
Consumer Groups FAQs
- Do I Need to Create Consumer Groups, Producers, and Consumers for Kafka Instances?
- Do I Need to Unsubscribe from a Topic Before Deleting a Consumer Group?
- Will a Consumer Group Without Active Consumers Be Automatically Deleted in 14 Days?
- Why Do I See a Deleted Consumer Group on Kafka Manager?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more