@Internal
public class ProducerKafkaMetricsReporter
extends java.lang.Object
MetricsReporter class for producer metrics.| Constructor and Description | 
|---|
| ProducerKafkaMetricsReporter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindTo(io.micrometer.core.instrument.MeterRegistry registry) | 
| void | close()Method to close bean. | 
| void | configure(java.util.Map<java.lang.String,?> configs) | 
| protected java.util.Set<java.lang.String> | getIncludedTags()The tags to include in the gauge. | 
| protected java.lang.String | getMetricPrefix()Abstract method to implement with the metric prefix for the reporter. | 
| 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) | 
protected java.lang.String getMetricPrefix()
@PreDestroy public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface org.apache.kafka.common.metrics.MetricsReporterpublic void bindTo(@NonNull
                   io.micrometer.core.instrument.MeterRegistry registry)
bindTo in interface io.micrometer.core.instrument.binder.MeterBinderpublic void init(java.util.List<org.apache.kafka.common.metrics.KafkaMetric> metrics)
init in interface org.apache.kafka.common.metrics.MetricsReporterpublic void metricChange(org.apache.kafka.common.metrics.KafkaMetric metric)
metricChange in interface org.apache.kafka.common.metrics.MetricsReporterpublic void metricRemoval(org.apache.kafka.common.metrics.KafkaMetric metric)
metricRemoval in interface org.apache.kafka.common.metrics.MetricsReporterpublic void configure(java.util.Map<java.lang.String,?> configs)
configure in interface org.apache.kafka.common.Configurableprotected java.util.Set<java.lang.String> getIncludedTags()