added feature toggling for enabling/disabling
This commit is contained in:
parent
9ee98e5446
commit
0bcfa5ddb0
@ -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>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user