public class KafkaBinderHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
| Constructor and Description |
|---|
KafkaBinderHealthIndicator(KafkaMessageChannelBinder binder,
org.springframework.kafka.core.ConsumerFactory<?,?> consumerFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.actuate.health.Health |
health() |
void |
setTimeout(int timeout)
Set the timeout in seconds to retrieve health information.
|
public KafkaBinderHealthIndicator(KafkaMessageChannelBinder binder, org.springframework.kafka.core.ConsumerFactory<?,?> consumerFactory)
public void setTimeout(int timeout)
timeout - the timeout - default 60.public org.springframework.boot.actuate.health.Health health()
health in interface org.springframework.boot.actuate.health.HealthIndicatorCopyright © 2019 Pivotal Software, Inc.. All rights reserved.