Documentation

Service Group

When you have multi-impls of a interface,you can distinguish them with the group.

Service

<dubbo:service group="feedback" interface="com.xxx.IndexService" />
<dubbo:service group="member" interface="com.xxx.IndexService" />

Reference

<dubbo:reference id="feedbackIndexService" group="feedback" interface="com.xxx.IndexService" />
<dubbo:reference id="memberIndexService" group="member" interface="com.xxx.IndewxService" />

Any group [1]

<dubbo:reference id="barService" interface="com.foo.BarService" group="*" />

  1. supported after version 2.2.0 ,always select only one available group of implementations to invoke. ↩︎