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.
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 Summary
ConstructorDescriptionDeprecated.KafkaConsumerMetrics
(Iterable<Tag> tags) Deprecated.KafkaConsumerMetrics
(MBeanServer mBeanServer, Iterable<Tag> tags) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(MeterRegistry registry) Deprecated.void
close()
Deprecated.
-
Constructor Details
-
KafkaConsumerMetrics
public KafkaConsumerMetrics()Deprecated. -
KafkaConsumerMetrics
Deprecated. -
KafkaConsumerMetrics
Deprecated.
-
-
Method Details
-
bindTo
Deprecated.- Specified by:
bindTo
in interfaceMeterBinder
-
close
public void close()Deprecated.- Specified by:
close
in interfaceAutoCloseable
-
KafkaClientMetrics
instead since 1.4.0