anchor.diff:  == Introduction
   
   Resilience4j is a lightweight fault tolerance library inspired by https://github.com/Netflix/Hystrix[Netflix Hystrix], but designed for Java 8 and functional programming. Lightweight, because the library only uses http://www.vavr.io/[Vavr], which does not have any other external library dependencies. Netflix Hystrix, in contrast, has a compile dependency to https://github.com/Netflix/archaius[Archaius] which has many more external library dependencies such as Guava and Apache Commons Configuration.
  +
  +WARNING: Netflix Hystrix is no longer in active development, and is currently in maintenance mode.
   
   Resilience4j provides higher-order functions (decorators) to enhance any functional interface, lambda expression or method reference with a Circuit Breaker, Rate Limiter, Retry or Bulkhead. You can stack more than one decorator on any functional interface, lambda expression or method reference. The advantage is that you have the choice to select the decorators you need and nothing else.
   
  
positive.code: 
  |===
  
  Above table is based on https://github.com/App-vNext/Polly#resilience-policies[Polly: resilience policies].
  
  == Spring Boot
  
  
negative.code: String result = circuitBreaker.executeSupplier(supplier);
  ----
  
  NOTE: With Resilience4j you don’t have to go all-in, you can https://mvnrepository.com/artifact/io.github.resilience4j[*pick*] what you need.
  
  ==  Documentation
  
  