spring-cloud / spring-cloud-stream-binder-kafka

Spring Cloud Stream binders for Apache Kafka and Kafka Streams
Apache License 2.0
331 stars 301 forks source link

KafkaBinderMetrics NoopGauge/filtering changes #1001

Closed sobychacko closed 3 years ago

sobychacko commented 3 years ago

Fixing the problem of KafkBinderMetrics scheduled task for finding the offset lag gets triggered, even when the guage is registered as a NoopGague in the MeterRegistry.

Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/995