public static class KafkaSpecialProducerConsumerConfigExample.MyConsumerMetricsReporter extends Object implements org.apache.kafka.common.metrics.MetricsReporter
Constructor and Description |
---|
MyConsumerMetricsReporter() |
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.Configurable
public void init(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
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.