@AutoConfiguration(before=KafkaAutoConfiguration.class,
after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass(value={io.micrometer.core.instrument.binder.kafka.KafkaClientMetrics.class,org.springframework.kafka.core.ProducerFactory.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, Stephane Nicoll, EddĂș MelĂ©ndez