public class KafkaBinderMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder, org.springframework.context.ApplicationListener<BindingCreatedEvent>
Constructor and Description |
---|
KafkaBinderMetrics(KafkaMessageChannelBinder binder,
org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties binderConfigurationProperties) |
KafkaBinderMetrics(KafkaMessageChannelBinder binder,
org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties binderConfigurationProperties,
org.springframework.kafka.core.ConsumerFactory<?,?> defaultConsumerFactory,
io.micrometer.core.instrument.MeterRegistry meterRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(io.micrometer.core.instrument.MeterRegistry registry) |
void |
onApplicationEvent(BindingCreatedEvent event) |
public KafkaBinderMetrics(KafkaMessageChannelBinder binder, org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties binderConfigurationProperties, org.springframework.kafka.core.ConsumerFactory<?,?> defaultConsumerFactory, @Nullable io.micrometer.core.instrument.MeterRegistry meterRegistry)
public KafkaBinderMetrics(KafkaMessageChannelBinder binder, org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties binderConfigurationProperties)
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
bindTo
in interface io.micrometer.core.instrument.binder.MeterBinder
public void onApplicationEvent(BindingCreatedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<BindingCreatedEvent>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.