zoukankan      html  css  js  c++  java
  • 项目中dubbo的标准配置

    # Spring boot application
    spring:
    application:
    name: hello-dubbo-service-user-provider

    # UserService service version
    user:
    service:
    version: 1.0.0

    # Dubbo Config properties
    dubbo:
    ## Base packages to scan Dubbo Component:@com.alibaba.dubbo.config.annotation.Service
    scan:
    basePackages: com.funtl.hello.dubbo.service.user.provider.api
    ## ApplicationConfig Bean
    application:
    id: hello-dubbo-service-user-provider
    name: hello-dubbo-service-user-provider
    qos-port: 22222
    qos-enable: true
    ## ProtocolConfig Bean
    protocol:
    id: dubbo
    name: dubbo
    port: 12346
    status: server
    serialization: kryo
    ## RegistryConfig Bean
    registry:
    id: zookeeper
    address: zookeeper://192.168.23.144:2181?backup=192.168.23.144:2182,192.168.23.144:2183
    # Enables Dubbo All Endpoints
    management:
    endpoint:
    dubbo:
    enabled: true
    dubbo-shutdown:
    enabled: true
    dubbo-configs:
    enabled: true
    dubbo-services:
    enabled: true
    dubbo-references:
    enabled: true
    dubbo-properties:
    enabled: true
    # Dubbo Health
    health:
    dubbo:
    status:
    ## StatusChecker Name defaults (default : "memory", "load" )
    defaults: memory
    ## StatusChecker Name extras (default : empty )
    extras: load,threadpool
  • 相关阅读:
    1058 A+B in Hogwarts (20)
    1046 Shortest Distance (20)
    1061 Dating (20)
    1041 Be Unique (20)
    1015 Reversible Primes (20)(20 分)
    pat 1027 Colors in Mars (20)
    PAT 1008 Elevator (20)
    操作系统 死锁
    Ajax的get方式传值 避免& 与= 号
    让IE浏览器支持CSS3表现
  • 原文地址:https://www.cnblogs.com/leigepython/p/11410399.html
Copyright © 2011-2022 走看看