CircuitBreakerOptions
Name |
Type |
Description |
|
Sets whether or not the fallback is executed on failure, even when the circuit is closed. |
|
|
Sets the maximum number of failures before opening the circuit. |
|
|
Sets the event bus address on which the circuit breaker publish its state change. |
|
|
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its current state. |
|
|
Sets the time in ms before it attempts to re-close the circuit (by going to the hal-open state). If the cricuit
is closed when the timeout is reached, nothing happens. |
|
|
Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as a failure. |