dubbo.apache.org/dubbo-go/v3@v3.1.1/config/testdata/consumer_config_with_configcenter.yml (about)

     1  # dubbo client yaml configure file
     2  
     3  application:
     4    name: "BDTService"
     5  config_center:
     6    protocol: "mock"
     7    address: "127.0.0.1"
     8  references:
     9    "UserProvider":
    10      registry-ids: "hangzhouzk,shanghaizk"
    11      filter: ""
    12      protocol : "dubbo"
    13      interface : "com.ikurento.user.UserProvider"
    14      url: "dubbo://127.0.0.1:20000/UserProvider"
    15      cluster: "failover"
    16      methods :
    17        - name: "GetUser"
    18          retries: "3"
    19  
    20  shutdown_conf:
    21    timeout: 60s
    22    step-timeout: 10s
    23  
    24  protocol_conf:
    25    dubbo:
    26      reconnect_interval: 0
    27      connection_number: 2
    28      heartbeat_period: "5s"
    29      session_timeout: "20s"
    30      pool_size: 64
    31      pool_ttl: 600
    32      getty_session_param:
    33        compress_encoding: false
    34        tcp_no_delay: true
    35        tcp_keep_alive: true
    36        keep_alive_period: "120s"
    37        tcp_r_buf_size: 262144
    38        tcp_w_buf_size: 65536
    39        tcp_read_timeout: "1s"
    40        tcp_write_timeout: "5s"
    41        wait_timeout: "1s"
    42        max_msg_len: 16498688
    43        session_name: "client"