binbin0325 commented on issue #2044:
URL: https://github.com/apache/dubbo-go/issues/2044#issuecomment-1290472880
```yaml
dubbo:
application:
name: shield
registries:
interface-nacos:
protocol: nacos
address: 127.0.0.1:18848
username: my-test
password: 123456
namespace: my-ns
group: dubbo
params:
nacos.logLevel: warn
service-nacos:
protocol: nacos
address: 127.0.0.1:18848
username: my-test
password: 123456
namespace: my-ns
group: DEFAULT_GROUP
# 指定该注册中心为:应用级服务发现(service),不填默认为接口级
registry-type: service
params:
nacos.logLevel: warn
protocols:
triple:
name: tri
port: 20001
provider:
services:
ShieldProvider:
registry-ids: interface-nacos
interface: top.sinfon.shield.ShieldApi
version: v1.0.0
consumer:
references:
SwordApiClientImpl:
registry-ids: service-nacos
protocol: tri
version: 1.0.0
interface: top.sinfon.sword.SwordApi
provided_by: sword-service
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]