Closed mgimenoromanadevinta closed 6 days ago
Are you using Resilience4J annotations and that is why you need spring-boot-starter-aop
?
https://resilience4j.readme.io/docs/getting-started-3#annotations
Hello @ryanjbaxter
Yes indeed, we're using annotations such as @CircuitBreaker
That is not functionality provided by Spring Cloud CircuitBreaker not Spring Cloud OpenFeign the requirement is coming from Resilience4J. So I do not believe we should be including the AOP started in the Spring Cloud projects.
Thanks for your answer @ryanjbaxter !
Describe the bug Since
org.springframework.cloud:spring-cloud-dependencies:2023.0.2
the dependencyorg.springframework.boot:spring-boot-starter-aop
has been removed fromorg.springframework.cloud:spring-cloud-starter-openfeign
.This is causing this circuit breaker library to not work properly if it's not added manually into the build file (circuits are always closed, etc)
An issue was raised to openfeign and they answered that they don't plan to add it back and that it should be in the libraries that require it (in this case, this one it seems)
Is this something that you're aware of? Is there a plan to fix it?
Thank you very much