Class ClusterAwarenessHealthIndicator
java.lang.Object
io.camunda.zeebe.gateway.impl.probes.health.ClusterAwarenessHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class ClusterAwarenessHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
Health indicator that signals whether the gateway is aware of any nodes in the cluster. If the
gateway is not aware of any nodes this indicates a potential network topology problem
-
Constructor Summary
ConstructorsConstructorDescriptionClusterAwarenessHealthIndicator(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
-
ClusterAwarenessHealthIndicator
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-