Updated on 2024-05-30 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.
  2. In the navigation pane, choose Monitoring.
  3. On the By Consumer Group tab page, view Consumer Retrieved Messages to find the consumer group with accumulated messages.
  4. In the navigation pane, choose Consumer Groups.
  5. 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.