You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Jeff-Lv (GitHub)" <gi...@apache.org> on 2018/10/24 06:25:16 UTC

[GitHub] [incubator-dubbo] Jeff-Lv commented on issue #2583: ApplicationModel serviceName is not unique

I don't think this is a problem or fixing bug. Here are two reasions.

1) Pratically,  the same service is not recommended to create twice on the consumer side. If async and sync are both needed,  we can do it in mehod level to config, or a util method to switch between aync and sync.

2) most importantly, please check the two classes (URL and StringUtils), there is a method named getServiceKey, which is used commonly in Dubbo. A service can be unique under three properties whare are serviceInterface, Group, Version. So,  there is no property Ref to constraint service's unique. 

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2583 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org