Resilience 4j
Last updated
Was this helpful?
Last updated
Was this helpful?
Sometimes, microservice reply on the response from another microservice which make a call chain
However, if the one of the service is down, the entire chain will get affected
Resilience is a fault-tolerant library so as to handle the case that the down of the microservice or the slow response of the microservice
If the response time is longer than the timeout that we set, the default fallback message will be returned which is also defined my us
We can set the number of retry of calling the api of microservice, but also the interval between each call, if the number of retry is exceed, the fallback message will be returned