Help Center/ Distributed Message Service for Kafka/ User Guide/ Managing Consumer Groups/ Configuring Automatic Consumer Group Creation for Kafka
Updated on 2026-07-14 GMT+08:00

Configuring Automatic Consumer Group Creation for Kafka

A consumer subscribes to a topic. A consumer group is a logical collection of consumers. Kafka uses consumer groups to balance messages and manage the consumption progress.

If the Auto Create Consumer Group function is enabled, a consumer group is automatically created when a consumer attempts to enter a group that does not exist. If this function is disabled, manually create a consumer group before consuming messages. Otherwise, message consumption will fail.

Notes and Constraints

  • Enabled by default for new Kafka instances.
  • Modifying this function does not restart Kafka instances.

Configuring Automatic Consumer Group Creation for Kafka

  1. Log in to the Kafka console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click a Kafka instance name to go to the instance details page.
  4. Modify the automatic consumer group creation function of Kafka in either of the following ways:

    • In the Instance Information area on the Overview page, configure the function.
    • Choose Instance > Parameters in the navigation pane on the left. Click Edit next to auto.create.groups.enable. Configure the function in Current Value.

Related Documents