registry/zookeeper/go-server/conf/dubbogo.yml (20 lines of code) (raw):
dubbo:
registries:
demoZK:
protocol: zookeeper
timeout: 3s
address: 127.0.0.1:2181
group: myGroup # default is dubbo
registry-type: interface
protocols:
triple:
name: tri
port: 20000
provider:
services:
GreeterProvider:
interface: com.apache.dubbo.sample.basic.IGreeter # must be compatible with grpc or dubbo-java
UserProviderWithCustomGroupAndVersion:
interface: com.apache.dubbo.sample.basic.IGreeter2
version: myInterfaceVersion # dubbo interface version must be same with client
group: myInterfaceGroup # dubbo interface group must be same with client