...
Property | type | mandatory | Description |
---|---|---|---|
enabled | boolean | N | Enable or disable given circuit. Default value: true |
thresholdPercentage | int | Y | Percentage of failed requests in given window that must be exceeded in order to switch the circuit to disconnected (open) state. Value: 0-100 |
windowSizeInMillis | long | Y | Sliding window size used for evaluation. Requests out of window, are deleted. Value: millisecond count |
minimalCountInWindow | int | Y | Minimal message count in window, to consider that window relevant. This minimal number of messages in each windows is always sent. Value: count of messages |
sleepInMillis | long | Y | Sleep time, after when circuit breaker is triggered. Target uri will not be passed to for this period of time. After this period, new evaluation window starts. Value: millisecond count |
...