Class KafkaConsumerMetrics

java.lang.Object
io.micrometer.core.instrument.binder.kafka.KafkaConsumerMetrics
All Implemented Interfaces:
MeterBinder, AutoCloseable

@Incubating(since="1.1.0") @NonNullApi @NonNullFields @Deprecated public class KafkaConsumerMetrics extends Object implements MeterBinder, AutoCloseable
Deprecated.
use KafkaClientMetrics instead since 1.4.0
Kafka consumer metrics collected from metrics exposed by Kafka consumers via the MBeanServer. Metrics are exposed at each consumer thread.

Metric names here are based on the naming scheme as it was last changed in Kafka version 0.11.0. Metrics for earlier versions of Kafka will not report correctly.

Since:
1.1.0
See Also:
  • Constructor Details

    • KafkaConsumerMetrics

      public KafkaConsumerMetrics()
      Deprecated.
    • KafkaConsumerMetrics

      public KafkaConsumerMetrics(Iterable<Tag> tags)
      Deprecated.
    • KafkaConsumerMetrics

      public KafkaConsumerMetrics(MBeanServer mBeanServer, Iterable<Tag> tags)
      Deprecated.
  • Method Details