Unsubscribing a Kafka Consumer Group from a Topic
The consumption progress in a topic can be viewed on the consumer group details page. When a consumer no longer consumes a topic, unsubscribing the consumer group from the topic can prevent false alarms caused by topic message accumulation.
Notes and Constraints
- May be unavailable for existing Kafka 1.1.0 or 2.3.0 instances.
- This function will permanently delete the consumer offset in the topic. Exercise caution.
Procedure
- Log in to the console.
- Click
in the upper left corner to select the region where your instance is located.
- Click
in the upper left corner and choose Application > Distributed Message Service for Kafka to open the Kafka instance list.
- Click the desired instance to go to the instance details page.
- In the navigation pane, choose Instance > Consumer Groups.
- Click the name of the desired consumer group.
- On the Consumer Offset tab page, select the topics to be unsubscribed, and click Unsubscribe on the upper left side. Up to 50 topics can be selected at a time.
- In the Unsubscribe dialog box, click Yes.
Unsubscribed topics are no longer displayed on the Consumer Offset tab page.
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