resilience4cata 1.1.1 is on Maven Central. Together with 1.1.0, it brings nine fixes since 1.0.0 . All of them are compatible: the API, the generated code and the configuration keys are unchanged, so upgrading is a version bump.
If you haven't seen it before: resilience4cata gives you retry, circuit breaker, rate limiter, timeout, bulkhead, fallback, hedging and an adaptive concurrency limit for Java 21+. You write them as annotations, and an annotation processor turns them into plain Java at compile time, with no proxies, aspects or agents.
Some of these bugs were found by going through Resilience4j's test suite and checking the same cases here. Here is what changed, grouped by where you would have noticed it.
Reactor: cancelling a Flux (1.1.0)
Two bugs had the same cause: what happens when a subscriber cancels a Flux .
next() and take(1) left no success in the circuit breaker. Those operators cancel the stream after its first element, and a cancelled call was not recorded at all.…