Package org.sdase.commons.server.kafka
Interface KafkaBundle.FinalBuilder<T extends io.dropwizard.Configuration>
-
- All Known Implementing Classes:
KafkaBundle.Builder
- Enclosing class:
- KafkaBundle<C extends io.dropwizard.Configuration>
public static interface KafkaBundle.FinalBuilder<T extends io.dropwizard.Configuration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KafkaBundle<T>
build()
KafkaBundle.FinalBuilder<T>
withoutHealthCheck()
Disables the health check for Kafka.
-
-
-
Method Detail
-
withoutHealthCheck
KafkaBundle.FinalBuilder<T> withoutHealthCheck()
Disables the health check for Kafka. By disabling the health check the service can stay healthy even if the connection to Kafka is disrupted, if Kafka is not essential to the functionality. However, disabling it still registers an external health check to be able to monitor the connection.- Returns:
- the same builder instance
-
build
KafkaBundle<T> build()
-
-