Closed chenzhiguo closed 6 months ago
Only when the thread pool asynchronous routing is not enabled, it needs to be enhanced through ServiceInstanceListSupplierDeclarer. ServiceInstanceListSupplierDeclarer is not enhanced by default. If you need ServiceInstanceListSupplierDeclarer to enhance the get methods of org.springframework.cloud.loadbalancer.core.CachingServiceInstanceListSupplier, org.springframework.cloud.loadbalancer.core.DiscoveryClientServiceInstanceListSupplier, please change enabled-thread-pool in the routing configuration to false.
This issue seems to be Stale. We will close it in a few days.
A solution has been provided. No other problems will occur in the future. Therefore, this issue is closed.
What happened?
"org.springframework.cloud.loadbalancer.core.CachingServiceInstanceListSupplier", "org.springframework.cloud.loadbalancer.core.DiscoveryClientServiceInstanceListSupplier" and "get" method words enhanced by plugin com.huaweicloud.sermant.router.spring.declarer.ServiceInstanceListSupplierDeclarer The section code has not been changed.
How can we reproduce it (as minimally and precisely as possible)?
Turn on agent.config.isOutputEnhancedClasses=true Start the project and observe the enhanced class list in the output path.
Anything else we need to know?
No response
Sermant version
OS version