polaris/registry/go-client/conf/dubbogo.yml (24 lines of code) (raw):
dubbo:
application:
name: myApp # metadata: application=myApp; name=myApp
module: opensource #metadata: module=opensource
group: myAppGroup # no metadata record
organization: dubbo # metadata: organization=dubbo
owner: laurence # metadata: owner=laurence
version: myversion # metadata: app.version=myversion
environment: pro # metadata: environment=pro
registries:
polarisMesh:
protocol: polaris
address: 127.0.0.1:8091
namespace: dubbogo
registry-type: interface
consumer:
references:
UserProvider:
protocol: dubbo
interface: org.apache.dubbo.UserProvider.Test
UserProviderWithCustomGroupAndVersion:
protocol: dubbo
interface: org.apache.dubbo.UserProvider.Test2
version: myInterfaceVersion # dubbo interface version must be same with server