New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on application starting time call openfeign with circuitbreaker and loadbalancer stuck main thread #953
Comments
The issue seems to be with the |
It seems to be the combination of Spring Cloud OpenFeign and Spring Cloud CircuitBreaker that is the problem. If I just use Spring Cloud Circuit Breaker without the Feign client it works, and if I just use OpenFeign without Spring Cloud Circuit Breaker it works. What is the real life use case here of making an HTTP request during bean initialization? |
init |
In general we discourage the use of Feign when initializing beans, see |
example project test-cloud
without circuitbreaker will working .
like issues #921
spring-framework issues
Feign client
bean init
the feign call will stuck until circuitbreaker timeout.
main thread waiting on condition
pool-2-thread-1 blocked
The text was updated successfully, but these errors were encountered: