edit

Resilience

Installation (Gradle)

compile group: "org.http4k", name: "http4k-resilience4j", version: "3.12.0"

About

This module provides configurable Filters to provide CircuitBreaking, RateLimiting, Retrying and Bulkheading, by integrating with the awesome Resilience4J library.

Circuit Breaking

A Circuit Filter detects failures and then Opens for a set period to allow the underlying system to recover.

Rate Limiting

A RateLimit Filter monitors the number of requests over a set window.

Retrying

A Retrying Filter retries requests if a failure is generated.

Bulkheading

A Bulkhead Filter limits the amount of parallel calls that can be executed.