DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration Class

Dapr Component Resiliency Policy Circuit Breaker Policy Configuration.

Constructor

DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration()

Variables

Name Description
consecutiveErrors
int

The number of consecutive errors before the circuit is opened.

timeoutInSeconds
int

The interval in seconds until a retry attempt is made after the circuit is opened.

intervalInSeconds
int

The optional interval in seconds after which the error count resets to 0. An interval of 0 will never reset. If not specified, the timeoutInSeconds value will be used.

Attributes

consecutiveErrors

The number of consecutive errors before the circuit is opened.

consecutiveErrors: int

intervalInSeconds

The optional interval in seconds after which the error count resets to 0. An interval of 0 will never reset. If not specified, the timeoutInSeconds value will be used.

intervalInSeconds: int

timeoutInSeconds

The interval in seconds until a retry attempt is made after the circuit is opened.

timeoutInSeconds: int