增加集成Dubbo的demo

This commit is contained in:
zlt2000
2021-01-30 12:02:49 +08:00
parent 880b599bc2
commit 30b87fdbaf
9 changed files with 187 additions and 21 deletions
@@ -0,0 +1,19 @@
dubbo:
scan:
base-packages: org.zlt.service
protocols:
dubbo:
name: dubbo
port: -1
registry:
address: spring-cloud://localhost
consumer:
timeout: 5000
check: false
retries: 0
cloud:
subscribed-services:
zlt:
trace:
enable: true
@@ -0,0 +1,11 @@
server:
port: 8091
spring:
application:
name: zlt-web-dubbo
main:
allow-bean-definition-overriding: true
cloud:
nacos:
server-addr: 192.168.28.130:8848