Skip to content

io.helidon.faulttolerance.CircuitBreaker

Description

Configuration of a circuit breaker

Configuration options

KeyTypeDefaultDescription
volumeInteger10Rolling window size used to calculate ratio of failed requests
delayDurationPT5SHow long to wait before transitioning from open to half-open state
error-ratioInteger60How many failures out of 100 will trigger the circuit to open
enable-metricsBooleanfalseFlag to enable metrics for this instance
success-thresholdInteger1How many successful calls will close a half-open circuit

Usages


See the manifest for all available types.