From 0bcfa5ddb0089f159b6202cfde3e00cb7889df4d Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 30 Jun 2022 12:06:07 +0300 Subject: [PATCH] added feature toggling for enabling/disabling --- README.md | 2 +- .../me/bvn13/kafka/health/KafkaHealthAutoConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9103af6..7e6b866 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add the following dependency to your `pom.xml` me.bvn13.kafka.health kafka-health-check - 1.5.4 + 1.5.5 ``` diff --git a/src/main/java/me/bvn13/kafka/health/KafkaHealthAutoConfiguration.java b/src/main/java/me/bvn13/kafka/health/KafkaHealthAutoConfiguration.java index 1538116..6579da4 100644 --- a/src/main/java/me/bvn13/kafka/health/KafkaHealthAutoConfiguration.java +++ b/src/main/java/me/bvn13/kafka/health/KafkaHealthAutoConfiguration.java @@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration; @Configuration @ConditionalOnClass(AbstractHealthIndicator.class) -//@ConditionalOnProperty(name = "kafka.health.enabled", havingValue = "true") +@ConditionalOnProperty(name = "kafka.health.enabled", havingValue = "true") public class KafkaHealthAutoConfiguration { @Bean