io.helidon.faulttolerance.CircuitBreaker
Description
Configuration of a circuit breaker
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
volume | Integer | 10 | Rolling window size used to calculate ratio of failed requests |
delay | Duration | PT5S | How long to wait before transitioning from open to half-open state |
error-ratio | Integer | 60 | How many failures out of 100 will trigger the circuit to open |
enable-metrics | Boolean | false | Flag to enable metrics for this instance |
success-threshold | Integer | 1 | How many successful calls will close a half-open circuit |
Usages
See the manifest for all available types.