circuitBreaker

Configures a circuit breaker. Execution is rejected when the circuit is open.

Parameters

config

Lambda to configure CircuitBreakerConfig (e.g. failureThreshold, timeout).

Cannot be combined with circuitBreakerNamed in the same builder.