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 consumer group has been created and there are consumers in the group.
- A topic has been created.
- A client has been used to connect to RocketMQ (SSL disabled) or a client has been used to connect to RocketMQ (SSL enabled) to produce and consume messages.
Viewing Subscribers to a Topic
- Log in to the RocketMQ console.
- Click a RocketMQ instance name to go to the instance overview 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 RocketMQ console.
- Click a RocketMQ instance name to go to the instance overview 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 consistency
Figure 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.