shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

Suggestions for improvements to the Apache dubbo plugin

Open dengliming opened this issue 5 years ago • 3 comments

1、https://github.com/dromara/soul/blob/54281b06669c74fb994a72e0e71474c4b5030399/soul-plugin/soul-plugin-apache-dubbo/src/main/java/org/dromara/soul/plugin/apache/dubbo/cache/ApplicationConfigCache.java#L157

ApplicationModel.getConfigManager(). only support in 2.7.5+, If we need to be compatible with lower versions, we should use reference.setApplication(applicationConfig);

2、Avoid always using reflection to get the invoke URL. (Maybe cache it would be better) https://github.com/dromara/soul/blob/54281b06669c74fb994a72e0e71474c4b5030399/soul-plugin/soul-plugin-apache-dubbo/src/main/java/org/dromara/soul/plugin/apache/dubbo/proxy/ApacheDubboProxyService.java#L112

dengliming avatar May 05 '21 06:05 dengliming

I'll see later

tydhot avatar May 05 '21 13:05 tydhot

If it's possible, I want to try to fix this problem

I'll see later

ttttangzhen avatar May 06 '21 02:05 ttttangzhen

If it's possible, I want to try to fix this problem

I'll see later

fine, you can think about how to optimize the no.2 question

tydhot avatar May 06 '21 12:05 tydhot