Creating a Consumer Group
Scenario
A consumer group must be created in order to retrieve messages. A maximum of three consumer groups can be created in each queue.
Messages in a queue are retrievable to all consumer groups created in that queue.
Prerequisites
A queue has been created.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region.
Select the same region as your application service.
- Click Service List, and choose Application > Distributed Message Service to open the DMS console.
- In the navigation pane, choose Queue Manager.
- Open the Create Consumer Group dialog box using either of the methods:
- Method 1
In the queue list, choose More > Create Consumer Group in the same row as the queue for which you want to create a consumer group.
- Method 2
- Click the name of a queue for which you want to create a consumer group.
- On the queue details page, click the Consumer Groups tab.
- Click Create Consumer Group.
- Method 1
- Specify Consumer Group Name.
A default consumer group name is generated, which you can change if required. A consumer group name is 1 to 32 characters long. Only letters, digits, underscores (_), and hyphens (-) are allowed. Consumer group names must be unique within their queue.
- Click OK.
Last Article: Creating a Queue
Next Article: Creating a Message
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.