Help Center/
Distributed Message Service for Kafka/
FAQs/
Messages/
What Can I Do If Kafka Messages Are Accumulated?
Updated on 2024-10-11 GMT+08:00
What Can I Do If Kafka Messages Are Accumulated?
Symptom: An alarm is generated for the Accumulated Messages metric.
Solution 1:
- Log in to the Kafka console and click the instance for which the alarm is generated. The instance details page is displayed.
- Choose Monitoring And Alarm > Details in the navigation pane.
- On the By Consumer Group tab page, view Consumer Retrieved Messages to find the consumer group with accumulated messages.
- In the navigation pane, choose Consumer Groups.
- Check whether there are consumers in the consumer group where messages are accumulated. If yes, contact the service party to accelerate their consumption. If no, contact the customer to delete unused consumer groups.
Solution 2:
- Log in to the Kafka console and click the instance for which the alarm is generated. The instance details page is displayed.
- In the left navigation pane, choose Analysis & Diagnosis > Accumulation Diagnosis.
- Select the consumer groups and topics to be diagnosed, and click Pre-check.
- After the pre-check is complete, if there are any risks in the Accumulated Messages area and the consumer group is not consuming message in the assign mode, click Start Diagnosis.
- After the diagnosis, locate the row that contains the diagnosis result, and click View Details in the Operation column. The Diagnosis Details page is displayed. Check the possible causes, affected partitions or brokers, and suggestions. Follow the suggestions to handle message accumulation.
Parent topic: Messages
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot