@Configuration(proxyBeanMethods=false)
@AutoConfigureAfter(value={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.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
Auto-configuration for Kafka metrics.
- Since:
- 2.1.0
- Author:
- Andy Wilkinson