KenyeeC opened a new issue #255:
URL: https://github.com/apache/dubbo-js/issues/255


   1. nacos 的 serviceName 一般是 providers:interface:version:group
   2. consumer 注册的 serviceName 直接就是 interface,应该也是 
consumers:interface:version:group 这种格式才对的
   3. 因为上面两个原因,在 
[registry-nacos.ts](https://github.com/apache/dubbo-js/blob/28e499b0b5e9e862945ad3d7461cba34e233f82f/packages/dubbo-registry/src/registry-nacos.ts#L95)中,直接用
 interface 去搜索,搜索到的都是本地的,所以没办法使用第三方提供的 nacos 服务
   
   参考 java 的实现 
https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosServiceName.java#L206


-- 
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