@Internal public class ConsumerKafkaMetricsReporter extends AbstractKafkaMetricsReporter
MetricsReporter class for consumer metrics.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARTITION_TAG |
CLIENT_ID_TAG, NODE_ID_TAG, TOPIC_TAG| Constructor and Description |
|---|
ConsumerKafkaMetricsReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Method to close bean.
|
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.
|
bindTo, configure, init, metricChange, metricRemovalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontextChange, reconfigurableConfigs, reconfigure, validateReconfigurationpublic static final java.lang.String PARTITION_TAG
protected java.lang.String getMetricPrefix()
getMetricPrefix in class AbstractKafkaMetricsReporterprotected java.util.Set<java.lang.String> getIncludedTags()
AbstractKafkaMetricsReportergetIncludedTags in class AbstractKafkaMetricsReporter@PreDestroy public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface MetricsReporterclose in class AbstractKafkaMetricsReporter