@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, metricRemoval
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contextChange, reconfigurableConfigs, reconfigure, validateReconfiguration
public static final java.lang.String PARTITION_TAG
protected java.lang.String getMetricPrefix()
getMetricPrefix
in class AbstractKafkaMetricsReporter
protected java.util.Set<java.lang.String> getIncludedTags()
AbstractKafkaMetricsReporter
getIncludedTags
in class AbstractKafkaMetricsReporter
@PreDestroy public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface MetricsReporter
close
in class AbstractKafkaMetricsReporter