Updated on 2025-09-03 GMT+08:00

Why Does a Deleted Consumer Group Still Exist?

Possible cause: 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.

Solution: Disable automatic consumer group creation. To do so, go to the Kafka console, choose Instance > Parameters in the left navigation pane, locate the row containing auto.create.groups.enable in the Dynamic Parameters area, click Edit, set the Current Value to false, and click Save. Then, delete the consumer group. Certain instances do not have parameter auto.create.groups.enable on the Instance > Parameters page. See the console. In this case, you are advised to modify the service code so that this consumer group will not be connected, and delete the consumer group. For details about how to modify parameter auto.create.groups.enable, see Modifying Kafka Instance Configuration Parameters.