Closed HabeebCycle closed 4 years ago
Hello Habeeb and thanks for your pull request!
This git repository contains the source code for the book Hands-On Microservices with Spring Boot and Spring Cloud , published by Packt.
When it comes to Resilience4j, this book uses version 0.14.1 of Resilience4j:
Since the book is already released, I can not update the version of Resilience4j in this git repo. Since the class CallNotPermittedException was introduced in later versions of Resilience4j I can not accept this pull request.
Hope you understand, Magnus.
P.S. I plan to publish an updated version of the code in another git repo, reflecting the latest versions of Spring Boot, Kubernetes, Istio, et al. In that git repo I will for sure apply your pull request!
Handled by issue #8.
CircuitBreakerOpenException.class is deprecated and removed from the library : Replaced with CallNotPermittedException.class
.onErrorReturn(CallNotPermittedException.class, getProductFallbackValue(productId)), instead of .onErrorReturn(CircuitBreakerOpenException.class, getProductFallbackValue(productId)),