Artem Bilan bcf15ed3be GH-328: Make KafkaBinderMetrics bean conditional
Fixes: spring-cloud/spring-cloud-stream-binder-kafka#328

Since we consider a Micrometer dependency as an optional, it would be
better do not expose beans which depends of that library

* Move `KafkaBinderMetrics` to its own `@Configuration` class with
appropriate conditions on the classpath and beans presence
* Add an `ApplicationContextRunner`-based test-case to achieve a
condition when Micrometer is not in classpath via `FilteredClassLoader`
hook

Resolves #328
Resolves #332
2018-03-06 12:40:16 -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-03-01 09:30:11 -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%