NIKHIL created KAFKA-8833: ----------------------------- Summary: Metric for Broker Consumer Lag in size and time Key: KAFKA-8833 URL: https://issues.apache.org/jira/browse/KAFKA-8833 Project: Kafka Issue Type: Improvement Components: metrics Reporter: NIKHIL
In many use cases consumers are expected to fetch at the tail end of the log. The proposal is to have stats on consumer lag in terms for bytes as well as time. We will add broker level metrics aggregated across all partitions. Both metrics will be histogram. - FetchLagTimeInMs: Histogram that will measure fetch log lag using the timestamp of the messages being fetched - FetchLagBytes: Histogram that will measure the fetch log lag by calculating the byte lag of the message being fetched -- This message was sent by Atlassian Jira (v8.3.2#803003)