Alanxtl commented on issue #2218:
URL: https://github.com/apache/dubbo-go/issues/2218#issuecomment-4750138107

   应用级发现现在虽然仍然先按 interface 找到 provider app mapping,但最终调用前会按 `ServiceKey` 过滤,而 
`ServiceKey` 包含 `group/interface:version`。也就是说 consumer 配 `DEV_GROUP` 时,不会调用到 
provider URL 里的 `TEST_GROUP`。
   
   代码里是 `SubscribeURL` 用 `url.ServiceKey()+protocol` 建 listener 
key,`RouterChain.Route` 又用 `invoker.GetURL().ServiceKey() == url.ServiceKey()` 
做二次过滤。


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