Artem Bilan 227d8f39f6 GH-318: Fix KafkaBinderMetrics for Micrometer
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`
2018-02-27 18:51:24 -05:00
2017-10-05 11:54:23 -04:00
2017-01-11 12:02:03 -05:00
2016-11-08 11:34:34 -05:00
2018-02-27 11:30:36 -05:00
2016-09-20 09:15:17 -04:00

Spring Cloud Stream Binder for Apache Kafka
Description
No description provided
Readme Apache-2.0 22 MiB
Languages
Java 96.4%
XSLT 3%
CSS 0.5%