@Configuration @ConditionalOnClass(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) protected class KafkaBinderConfiguration.KafkaBinderMetricsConfiguration extends Object
KafkaBinderMetrics bean when the
MeterRegistry class is in classpath, as well as a MeterRegistry bean is
present in the application context.| Modifier | Constructor and Description |
|---|---|
protected |
KafkaBinderMetricsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
io.micrometer.core.instrument.binder.MeterBinder |
kafkaBinderMetrics(KafkaMessageChannelBinder kafkaMessageChannelBinder,
KafkaBinderConfigurationProperties configurationProperties,
io.micrometer.core.instrument.MeterRegistry meterRegistry) |
@Bean @ConditionalOnMissingBean(value=KafkaBinderMetrics.class) public io.micrometer.core.instrument.binder.MeterBinder kafkaBinderMetrics(KafkaMessageChannelBinder kafkaMessageChannelBinder, KafkaBinderConfigurationProperties configurationProperties, io.micrometer.core.instrument.MeterRegistry meterRegistry)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.