Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: chenjunjie <chenjunjie@huawei.com> Co-committed-by: chenjunjie <chenjunjie@huawei.com>
5.9 KiB
Modifying RocketMQ Consumer Group Configurations
After creating a consumer group, you can modify its configuration as required.
Prerequisite
Modifying RocketMQ Consumer Group Configurations
- Log in to the console.
- Click
in the upper left corner to select a region.DMS instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.
- Click
and choose Application > Distributed Message Service for RocketMQ to open the DMS for RocketMQ page. - Click a RocketMQ instance name to go to the instance overview page.
- In the navigation pane, choose Instance > Consumer Groups.
- Modify consumer group parameters in either of the following ways:
- 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.
- 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 consumption failures. For example, if this parameter is set to 3, a message can be delivered for a maximum of 4 times. One time is for delivering the original message, and 3 times are for redelivery.
Value range: 1–16
Modifying this parameter takes effect only after the consumer group is restarted. To avoid infinite retries, set a proper value as required. A large value may increase the system pressure.
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.
Orderly
If this option is enabled, consumers consume messages in sequence.
Orderly consumption ensures sequential consumption by message sending. In this case, earlier messages are consumed before later messages
Description
Description of the consumer group.
0–200 characters
- Click OK.