How to Prevent Certain Exceptions from Tripping a Resilience4j Circuit
The source code for this article can be found on Github.
The Resilience4j circuit breaker by default considers any exception thrown inside of the Supplier as a failure. If over 50% of the calls are failures and the rolling window max size is met, then it will prevent any future calls from going through.