Class ClusterHealthIndicator
java.lang.Object
io.camunda.zeebe.gateway.impl.probes.health.ClusterHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class ClusterHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
The cluster health indicator signals if there are still any healthy partition available, if not
then is set as down as no processing is happening. In the details also indicates the health
status of all partitions.
-
Constructor Summary
ConstructorsConstructorDescriptionClusterHealthIndicator(Supplier<Optional<BrokerClusterState>> clusterStateSupplier) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
ClusterHealthIndicator
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-