-
Notifications
You must be signed in to change notification settings - Fork 705
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
refactor: BeanPostProcessor should avoid dependencies on other beans #1304
refactor: BeanPostProcessor should avoid dependencies on other beans #1304
Conversation
Not sure we can make these breaking changes in minor releases. |
Including these changes in version 4.1.0 (before the GA) seems reasonable. |
It's a minor release. We won't make breaking changes |
These changes will be accepted? |
please be patient |
After upgrade to Spring Cloud 2023.0.0 , when I start up my application
|
Unfortunately the issue was not addressed in Spring Cloud 2023 release. Similar to @app2smile, our applications generates many warnings during startup after upgrade to Spring Boot 3.2 with Spring Cloud 2023. Those warnings are caused by changes introduced by #1294. The new introduced It will be good if we can address those warnings in the next release. |
b3ea615
to
2a25d36
Compare
Thanks for creating the PR @DanielLiu1123. As indicated in this comment, while the warnings provide information, we have not noticed this is causing any bugs. In any case, we can consider the change proposal for a future major (date or release train number not set yet), however, please create a separate PR with changes for retry behaviour and a comment with your justification for it, and remove those changes from this one, as we might be considering it independently. |
I'd be happy to do that. |
Hello @DanielLiu1123 please keep in mind, that I've already created a PR related to changes in the post-processor after determining there was a bug: #1319, so please just create a separate PR with your retry logic changes, and we will review it. |
Already done, #1321 |
Thanks @DanielLiu1123 |
This PR primarily addresses two issues:
LoadBalancerRestClientBuilderBeanPostProcessor
andLoadBalancerWebClientBuilderBeanPostProcessor
areBeanPostProcessor
and should not depend on other beans. This could lead to the premature initialization of Configuration classes, potentially resulting in warnings like the following:spring.cloud.loadbalancer.retry.enabled
is true, but this has not been consistently applied in some code.