public static class KafkaSpecialProducerConsumerConfigExample.MyProducerMetricsReporter extends Object implements org.apache.kafka.common.metrics.MetricsReporter
| Constructor and Description |
|---|
MyProducerMetricsReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
void |
init(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 configure(Map<String,?> configs)
configure in interface org.apache.kafka.common.Configurablepublic void init(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 close()
close in interface org.apache.kafka.common.metrics.MetricsReporterCopyright © 2018 Pivotal Software, Inc.. All rights reserved.