You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2021/03/05 01:07:00 UTC

[jira] [Created] (KAFKA-12428) Add a last-heartbeat-seconds-ago metric to Kafka Consumer

Guozhang Wang created KAFKA-12428:
-------------------------------------

             Summary: Add a last-heartbeat-seconds-ago metric to Kafka Consumer
                 Key: KAFKA-12428
                 URL: https://issues.apache.org/jira/browse/KAFKA-12428
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
            Reporter: Guozhang Wang


I have encountered several issues in the past where heartbeat requests are not sent [1,2] (either in time, or ever), and today it is a bit hard to get to that from the logs. I think it is better to add a metric as "last-heartbeat-seconds-ago" where when rebalances were triggered we can immediately find out if this is the root cause.

1. https://issues.apache.org/jira/browse/KAFKA-10793
2. https://issues.apache.org/jira/browse/KAFKA-10827



--
This message was sent by Atlassian Jira
(v8.3.4#803005)