1、超时时间
2、线程池参数
dubbo:
annotation:
package: com.cnd
container: log4j,spring
application:
name: operational-service
owner: cnd
registry:
address: zookeeper://zk.cnd.net:2181?backup=zk1.cnd.net:2181,zk2.cnd.net:2181
provider:
timeout: 30000
port: 25999
consumer:
timeout: 30000
check: false
retries: 0
protocol:
name: dubbo
threadpool: cached
threads: 500
accepts: 1000
dispatcher: message
service:
loadbalance: roundrobin
Dubbo配置参数样例,基于yml文件
最新推荐文章于 2020-11-29 20:25:19 发布