@Configuration @ConditionalOnClass(value=<error>) @ConditionalOnBean(value=<error>) 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 |
|---|---|
MeterBinder |
kafkaBinderMetrics(KafkaMessageChannelBinder kafkaMessageChannelBinder,
org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties configurationProperties,
MeterRegistry meterRegistry) |
@Bean @ConditionalOnMissingBean(value=KafkaBinderMetrics.class) public MeterBinder kafkaBinderMetrics(KafkaMessageChannelBinder kafkaMessageChannelBinder, org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties configurationProperties, MeterRegistry meterRegistry)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.