@Internal
public static class KafkaConsumerMetrics.Reporter
extends java.lang.Object
implements org.apache.kafka.common.metrics.MetricsReporter
MetricsReporter
that binds metrics to micrometer.Constructor and Description |
---|
Reporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(java.util.Map<java.lang.String,?> configs) |
void |
init(java.util.List<org.apache.kafka.common.metrics.KafkaMetric> metrics) |
void |
metricChange(org.apache.kafka.common.metrics.KafkaMetric metric) |
void |
metricRemoval(org.apache.kafka.common.metrics.KafkaMetric metric) |
public void init(java.util.List<org.apache.kafka.common.metrics.KafkaMetric> metrics)
init
in interface org.apache.kafka.common.metrics.MetricsReporter
public void metricChange(org.apache.kafka.common.metrics.KafkaMetric metric)
metricChange
in interface org.apache.kafka.common.metrics.MetricsReporter
public void metricRemoval(org.apache.kafka.common.metrics.KafkaMetric metric)
metricRemoval
in interface org.apache.kafka.common.metrics.MetricsReporter
public void close()
close
in interface org.apache.kafka.common.metrics.MetricsReporter
public void configure(java.util.Map<java.lang.String,?> configs)
configure
in interface org.apache.kafka.common.Configurable