You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/30 03:51:32 UTC

[GitHub] [dubbo] wangxiang93 commented on issue #8603: 2.7.6.dubbo在指定的注册中心消费或者提供服务

wangxiang93 commented on issue #8603:
URL: https://github.com/apache/dubbo/issues/8603#issuecomment-907992456


   > @wangxiang93 It may be helpful for you See: https://www.yuque.com/plusman/zaq57o/qhg0d1
   
   sorry,I thinks this way not workes  well for my reuest;
   
   我的核心诉求是这样的
   我们系统有A、B,C 三个模块 共用一个ZK,调用链:A -->B --->C ,其中B既作为提供者又作为消费者,当B要去消费其他系统如D,必然要引进D的zk消费其服务,我现在不想把我的服务(c的提供者)注册到D的ZK上,又想去订阅D的zk的其他服务。我借鉴了你的方法在D的zk上加上register =false(Whether to export service on the register center,不向D的zk上注册B的service服务),我通过看D的zk,发现B的service服务确实没注册上,但B的reference(消费者)服务节点注册到D上的(具体接口节点的consumer属性为空),更严重的是我要调D的zk的zk服务,**debug发现注册中心竟然还是B的注册中心(我已经指定了 @Reference(registry = "dZk")),导致没提供者啥报错啥的**


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org