HttpCircuitBreaker

A plugin that enables the client to work through a CircuitBreaker, when the remote service gets overloaded the CircuitBreaker will open and now allow any traffic to pass through.

Typical usages which shows the default configuration:

install(HttpCircuitBreaker) {
  circuitBreaker(
    resetTimeout = 5.seconds,
    windowDuration = 5.seconds,
    maxFailures = 10
  )
}

Types

Link copied to clipboard

Contains HttpCircuitBreaker configurations settings.

Link copied to clipboard