doc-exports/docs/dms/umn/kafka_faq_0059.html
Chen, Junjie ca9677b121 DMS UMN 20230201 Version
Reviewed-by: Antonova, Ekaterina <ekantono@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-07-22 13:20:04 +00:00

13 lines
1.9 KiB
HTML

<a name="kafka_faq_0059"></a><a name="kafka_faq_0059"></a>
<h1 class="topictitle1">Why Does a Deleted Consumer Group Still Exist?</h1>
<div id="body0000001726723329"><p id="kafka_faq_0059__p10124010131412"><strong id="kafka_faq_0059__b13900112041911">Possible cause</strong>: Automatic consumer group creation has been enabled and your service is connected to the consumer group and consuming messages. Therefore, the consumer group is deleted but will be automatically re-created to consume messages until your service stops.</p>
<p id="kafka_faq_0059__p9342654122518"><strong id="kafka_faq_0059__b050112171301">Solution</strong>: Disable automatic consumer group creation. To do so, go to the Kafka console, choose <strong id="kafka_faq_0059__b12557268335">Parameters</strong> in the left navigation pane, locate the row that contains <strong id="kafka_faq_0059__b5232712163412">auto.create.groups.enable</strong> in the <strong id="kafka_faq_0059__b0255133723414">Dynamic Parameters</strong> area, click <strong id="kafka_faq_0059__b52295363616">Edit</strong>, set the <strong id="kafka_faq_0059__b13259153283717">Current Value</strong> to <strong id="kafka_faq_0059__b7813639203719">false</strong>, and click <strong id="kafka_faq_0059__b52232058173720">Save</strong>. Then, delete the consumer group. <strong id="kafka_faq_0059__b579518893918">auto.create.groups.enable</strong> is not displayed for some instances. For details, see the console. In this case, modify your service code to stop connecting to the consumer group. Then, delete the consumer group. For details about how to modify <strong id="kafka_faq_0059__b2231165534116">auto.create.groups.enable</strong>, see <a href="kafka-ug-0007.html">Modifying Kafka Instance Configuration Parameters</a>.</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>