Why does RefreshScope refresh all beans instead of only refreshing the beans that are dependent on the configuration item? org.springframework.cloud.context.refresh.ContextRefresher#refresh
Is your feature request related to a problem? Please describe. When I update a particular configuration in Nacos in a production environment with high concurrency, some servers will remain unresponsive for a long time.
Describe the solution you'd like Update only the properties of the Bean corresponding to the configuration item.
Describe alternatives you've considered Dispose of the currently associated bean, initialize it directly, and replace the original object reference.
Additional context
org.springframework.cloud.context.refresh.ContextRefresher#refresh
Is there any progress here? @Jcateye have you solved this somehow?
Why does RefreshScope refresh all beans instead of only refreshing the beans that are dependent on the configuration item?
It's hard/impossible to know which beans are affected by particular configuration item.