According to the group to invoke server and return the merge result 1, such as the menu service, the same interface, but there are a variety of implementations, using group distinction, consumers call each group and get the results, the merger can merge the resules, so that you can achieve aggregation Menu Item.
Related code can refer to dubbo project example
Merge all groups
Merge the specified group
The specified method to merge the results, other unspecified methods, will only call one group
The Specified a method does not merge the results, others merge the results
Specify the merge strategy, the default according to the type of return value automatically match, if the same type has two mergers, you need to specify the name of the merger2
Specify the merge method, it will call the return type’s method for merging, the merging method parameter type must be the return type
since 2.1.0
began to support ↩︎
See also:merger extensions ↩︎