compile group: "org.http4k", name: "http4k-resilience4j", version: "3.21.1"
This module provides configurable Filters to provide CircuitBreaking, RateLimiting, Retrying and Bulkheading, by integrating with the awesome Resilience4J library.
A Circuit Filter detects failures and then Opens for a set period to allow the underlying system to recover.
A RateLimit Filter monitors the number of requests over a set window.
A Retrying Filter retries requests if a failure is generated.
A Bulkhead Filter limits the amount of parallel calls that can be executed.