Service Group

Grouping service in dubbo

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:

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

Last modified December 22, 2020: clean up website (6e41905afa)