added feature toggling for enabling/disabling

develop
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>
<groupId>me.bvn13.kafka.health</groupId>
<artifactId>kafka-health-check</artifactId>
<version>1.5.4</version>
<version>1.5.5</version>
</dependency>
```

View File

@ -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