Dubbo配置参数样例,基于yml文件

阅读更多
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,yaml,yml,threapool,timeout)