added feature toggling for enabling/disabling

This commit is contained in:
bvn13 2022-06-30 12:06:07 +03:00
parent 9ee98e5446
commit 0bcfa5ddb0
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ Add the following dependency to your `pom.xml`
<dependency> <dependency>
<groupId>me.bvn13.kafka.health</groupId> <groupId>me.bvn13.kafka.health</groupId>
<artifactId>kafka-health-check</artifactId> <artifactId>kafka-health-check</artifactId>
<version>1.5.4</version> <version>1.5.5</version>
</dependency> </dependency>
``` ```

View File

@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration;
@Configuration @Configuration
@ConditionalOnClass(AbstractHealthIndicator.class) @ConditionalOnClass(AbstractHealthIndicator.class)
//@ConditionalOnProperty(name = "kafka.health.enabled", havingValue = "true") @ConditionalOnProperty(name = "kafka.health.enabled", havingValue = "true")
public class KafkaHealthAutoConfiguration { public class KafkaHealthAutoConfiguration {
@Bean @Bean