Modifying RocketMQ Consumer Group Configurations
After creating a consumer group, you can modify its configuration as required.
Prerequisite
- A RocketMQ instance has been purchased.
- A consumer group has been created.
Modifying RocketMQ Consumer Group Configurations
- Log in to the console.
- Click
in the upper left corner to select a region.
DMS for RocketMQ 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 Middleware > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
- Click a RocketMQ instance to go to the instance details 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
This parameter is mandatory for a RocketMQ 5.x instance.
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.
Related Documents
- To modify a consumer group by calling an API, see Batch Modifying Consumer Groups and Modifying a Consumer Group.
- When a message fails to be consumed, the RocketMQ service retries consuming it based on certain policies. If the retry fails for a specific number of times, the message is directly sent to a dead letter queue. For details about dead letter queue operations, see Managing RocketMQ Dead Letters.
- For details about message retry intervals, see Intervals between retries in normal retrievals.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot