Class ConsumerLagCollector
java.lang.Object
io.confluent.telemetry.collector.ConsumerLagCollector
- All Implemented Interfaces:
MetricsCollector
Collects consumer lag metrics, max pending rebalance time metrics, and consumer group status metrics
from the ConsumerLagStore and emits them via the telemetry pipeline.
-
Field Summary
Fields inherited from interface MetricsCollector
LABEL_LIBRARY, LABEL_ORIGINAL, LIBRARY_NONE -
Constructor Summary
ConstructorsConstructorDescriptionConsumerLagCollector(MetricNamingStrategy<org.apache.kafka.common.MetricName> metricNamingStrategy) -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MetricsCollector
start, stop
-
Constructor Details
-
ConsumerLagCollector
public ConsumerLagCollector(MetricNamingStrategy<org.apache.kafka.common.MetricName> metricNamingStrategy)
-
-
Method Details
-
collect
- Specified by:
collectin interfaceMetricsCollector
-