public class KafkaBinderHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
KafkaBinderHealthIndicator(KafkaMessageChannelBinder binder,
org.springframework.kafka.core.ConsumerFactory<?,?> consumerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
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.HealthIndicator
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.