Dubbo配置参数样例,基于yml文件 dubboyamlymlthreapooltimeout
程序员文章站
2022-03-07 12:25:54
...
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
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