3

Project Reactor has features for timeout, retry, fallback functions wrt exceptions, and backpressure. When I'm using Spring WebFlux with Project Reactor in a microservices world with Spring Cloud, do I still need resilience4j? Which features are provided by resilience4j that are not available in Project Reactor?

Juergen Zimmermann
  • 2,084
  • 7
  • 29
  • 43

1 Answers1

2

It has a few more features that are not baked in into Reactor, namely rate limiter, bulkhead and circuit breaker.

Simon Baslé
  • 27,105
  • 5
  • 69
  • 70
  • Actually bulkhead support is better with reactor than resilience4j. We have to use `subscribeOn/publishOn`. – RamPrakash Apr 17 '22 at 18:02