DaprComponentResiliencyPolicyCircuitBreakerPolicyConfigurationResponse

data class DaprComponentResiliencyPolicyCircuitBreakerPolicyConfigurationResponse(val consecutiveErrors: Int? = null, val intervalInSeconds: Int? = null, val timeoutInSeconds: Int? = null)

Dapr Component Resiliency Policy Circuit Breaker Policy Configuration.

Constructors

constructor(consecutiveErrors: Int? = null, intervalInSeconds: Int? = null, timeoutInSeconds: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val consecutiveErrors: Int? = null

The number of consecutive errors before the circuit is opened.

Link copied to clipboard
val intervalInSeconds: Int? = null

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.

Link copied to clipboard
val timeoutInSeconds: Int? = null

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