tree: a2661799c11397a22c1b4b34c6bcf969a4b38d42 [path history] [tgz]
  1. go-client/
  2. go-server-group-a/
  3. go-server-group-b/
  4. README.md
  5. README_zh.md
group/README.md

Dubbo-Go Group Usage

1. Introduction

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

2. How to configure the group

provider side

# server.yml

# service config
services:
  "UserProvider":
    # ...
    group: "group-a"
    # ...

consumer side

# client.yml

# reference config
references:
  "UserProvider":
    # ...
    group: "GroupA"
    # ...