@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value={MetricsAutoConfiguration.class,JmxAutoConfiguration.class}) @ConditionalOnClass(value={io.micrometer.core.instrument.binder.kafka.KafkaConsumerMetrics.class,org.apache.kafka.clients.consumer.KafkaConsumer.class}) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) public class KafkaMetricsAutoConfiguration extends Object
Constructor and Description |
---|
KafkaMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.kafka.KafkaConsumerMetrics |
kafkaConsumerMetrics(MBeanServer mbeanServer) |
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=javax.management.MBeanServer.class) public io.micrometer.core.instrument.binder.kafka.KafkaConsumerMetrics kafkaConsumerMetrics(MBeanServer mbeanServer)