Updated on 2023-11-29 GMT+08:00

Modifying Consumer Group Parameters

Scenario

After a consumer group is created, you can modify the maximum number of retries, and specify whether to enable message broadcasting.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RocketMQ instance is located.

  3. Click and choose Application > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
  4. Click a RocketMQ instance to go to the instance details page.
  5. In the navigation pane, choose Consumer Groups.
  6. Modify consumer group parameters using either of the following methods:

    • In the row containing the consumer group whose parameters you want to modify, click Edit.
    • Click a consumer group and then click Edit in the upper right corner of the consumer group details page.

  7. Modify consumer group parameters by referring to Table 1.

    Table 1 Consumer group parameters

    Parameter

    Description

    Maximum Retries

    Maximum number of times that messages are resent upon retrieval failures.

    Broadcast

    Indicates whether messages are broadcast.

    If this option is enabled, each message is retrieved by all consumers in the consumer group. If this option is disabled, each message is retrieved by only one consumer in the consumer group.

  8. Click OK.