227d8f39f61de95165a48b0fa6e93f3a00ef2ffe
Fixes spring-cloud/spring-cloud-stream-binder-kafka#318 * Use `ToDoubleFunction`-based `MeterRegistry.gauge()` variant to really calculate a `lag` at runtime instead of statically defined before * Add `KafkaBinderActuatorTests` integration test to demonstrate how `Binder` is declared in the separate child context and how `KafkaBinderMetrics` is not visible from the parent context. This test also verify the real `gauge` value for the `consumer lag` and should be used in the future to verify the `KafkaBinderMetrics` exposure removing the code after TODO in the `KafkaMetricsTestConfig`
Spring Cloud Stream Binder for Apache Kafka
Description
Languages
Java
96.4%
XSLT
3%
CSS
0.5%