amosnothing opened a new issue #9601:
URL: https://github.com/apache/dubbo/issues/9601


   背景:
   1. 两个注册中心
   2. 同一个服务提供者,同样的方法和入参类型
   3. 泛化调用
   4. dubbo 版本:2.7.8 和 2.7.15 都试过
   
   步骤:
   1. 先通过注册地址 address1 来调用该接口:此时数据正常打到 address1 的对应 ip 服务器
   2. 再通过注册地址 address2 来调用该接口:此时数据仍然打到 address1 的对应 ip 服务器
   3. 代码如下
   ```java
   // KEY_GENERATOR 
是我自定义的,规则是:nacos://host:port/namespace/group/com.xxx.yyy.zzzService:1.0.0
   final ReferenceConfigCache cache = 
ReferenceConfigCache.getCache(ReferenceConfigCache.DEFAULT_NAME,
                   KEY_GENERATOR);
   final GenericService genericService = cache.get(reference);
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to