blob: 7b4ba0768c03dea905911f29a4ae8f60b5632afb [file] [log] [blame]
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:
nacosWithCustomGroup:
protocol: nacos
address: 127.0.0.1:8848
group: myGroup # nacos group, default is DEFAULT_GROUP
registry-type: interface
# namespace: 9fb00abb-278d-42fc-96bf-e0151601e4a1 # nacos namespaceID, should be created before. default is public
protocols:
dubbo:
name: dubbo
port: 20000
provider:
services:
UserProvider:
interface: org.apache.dubbo.UserProvider.Test
UserProviderWithCustomGroupAndVersion:
interface: org.apache.dubbo.UserProvider.Test2
version: myInterfaceVersion # dubbo interface version must be same with client
group: myInterfaceGroup # dubbo interface group must be same with client