Class KafkaStreamsMetricsReporter
java.lang.Object
io.micronaut.configuration.kafka.metrics.AbstractKafkaMetricsReporter
io.micronaut.configuration.kafka.streams.metrics.KafkaStreamsMetricsReporter
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder, Closeable, AutoCloseable, Configurable, MetricsReporter, Reconfigurable
Kafka streams specific metrics reporter which prefixes all metrics with kafka-streams.
-
Field Summary
Fields inherited from class AbstractKafkaMetricsReporter
CLIENT_ID_TAG, NODE_ID_TAG, TOPIC_TAG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractKafkaMetricsReporter
bindTo, configure, getIncludedTags, init, metricChange, metricRemovalMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MetricsReporter
contextChange, reconfigurableConfigs, reconfigure, validateReconfiguration
-
Constructor Details
-
KafkaStreamsMetricsReporter
public KafkaStreamsMetricsReporter()
-
-
Method Details
-
getMetricPrefix
Description copied from class:AbstractKafkaMetricsReporterAbstract method to implement with the metric prefix for the reporter.- Specified by:
getMetricPrefixin classAbstractKafkaMetricsReporter- Returns:
- prefix name
-
close
@PreDestroy public void close()Method to close bean.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceMetricsReporter- Overrides:
closein classAbstractKafkaMetricsReporter
-