doc-exports/docs/dms/umn/kafka-faq-0043.html
Chen, Junjie dd8a3a658b DMS UMN Initial Version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2022-12-08 00:33:11 +00:00

15 lines
1.1 KiB
HTML

<a name="kafka-faq-0043"></a><a name="kafka-faq-0043"></a>
<h1 class="topictitle1">Will a Consumer Group Without Active Consumers Be Automatically Deleted in 14 Days?</h1>
<div id="body0000001254716933"><p id="kafka-faq-0043__p5956203116545">Yes.</p>
<p id="kafka-faq-0043__p1356422217557">Kafka uses the <strong id="kafka-faq-0043__b714615013144">offsets.retention.minutes</strong> 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 <strong id="kafka-faq-0043__b1611403011411">offsets.retention.minutes</strong> is 20,160 minutes (14 days).</p>
<p id="kafka-faq-0043__p61384325301">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.</p>
<p id="kafka-faq-0043__p8060118"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="kafka-faq-200423001.html">Consumer Groups</a></div>
</div>
</div>