Viewing RocketMQ Consumer Group-Topic Subscriptions
The consumer group and topic subscriptions can be viewed in real time on the RocketMQ console. A topic can be subscribed to by consumer groups. A consumer group can subscribe to topics.
All topics and tags subscribed by all consumers in one consumer group are the same. An inconsistent subscription causes disordered consumption logic and even message losses.
Prerequisites
- A RocketMQ instance has been purchased.
- A consumer group has been created, and there are consumers in the group.
- A topic has been created.
- Messages have been produced and consumed through accessing RocketMQ (SSL disabled) on a client or accessing RocketMQ (SSL enabled) on a client. The consumer group is online.
Viewing Subscribers to a Topic
- 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 > Topics.
- Click the name of the target topic in the topic list.
The online consumer groups can be viewed.
Figure 1 Viewing consumer group subscribers - (Optional) Click the name of a consumer group to view its details.
Viewing a Topic Subscribed to by Consumer Groups
- 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.
- Click the name of a target consumer group in the consumer group list.
Its subscriptions can be viewed. Handle subscription inconsistency as prompted if any.Figure 2 Example subscription consistencyFigure 3 Example subscription inconsistency
Related Document
For details about how to handle inconsistent subscriptions, see Ensuring Subscription Consistency.
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