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)