dubbo.apache.org/dubbo-go/v3@v3.1.1/config/testdata/consumer_config_withoutProtocol.yml (about) 1 # dubbo client yaml configure file 2 3 filter: "" 4 5 # client 6 request_timeout : "100ms" 7 # connect timeout 8 connect_timeout : "100ms" 9 check: true 10 # application config 11 application: 12 organization : "ikurento.com" 13 name : "BDTService" 14 module : "dubbogo user-info client" 15 version : "0.0.1" 16 owner : "ZX" 17 environment : "dev" 18 19 registries : 20 21 "hangzhouzk": 22 protocol: "zookeeper" 23 timeout : "3s" 24 address: "127.0.0.1:2181" 25 username: "" 26 password: "" 27 "shanghaizk": 28 protocol: "zookeeper" 29 timeout : "3s" 30 address: "127.0.0.1:2182" 31 username: "" 32 password: "" 33 34 references: 35 "UserProvider": 36 registry-ids: "hangzhouzk,shanghaizk" 37 filter: "" 38 version: "1.0" 39 group: "as" 40 interface : "com.ikurento.user.UserProvider" 41 url: "dubbo://127.0.0.1:20000/UserProvider" 42 cluster: "failover" 43 methods : 44 - name: "GetUser" 45 retries: 3 46 params: 47 "serviceid": 48 "soa.com.ikurento.user.UserProvider" 49 "forks": 5 50 51 shutdown_conf: 52 timeout: 60s 53 step-timeout: 10s 54 55 protocol_conf: 56 dubbo: 57 reconnect_interval: 0 58 connection_number: 2 59 heartbeat_period: "5s" 60 session_timeout: "20s" 61 pool_size: 64 62 pool_ttl: 600 63 # gr_pool_size is recommended to be set to [cpu core number] * 100 64 gr_pool_size: 1200 65 # queue_len is recommended to be set to 64 or 128 66 queue_len: 64 67 # queue_number is recommended to be set to gr_pool_size / 20 68 queue_number: 60 69 getty_session_param: 70 compress_encoding: false 71 tcp_no_delay: true 72 tcp_keep_alive: true 73 keep_alive_period: "120s" 74 tcp_r_buf_size: 262144 75 tcp_w_buf_size: 65536 76 tcp_read_timeout: "1s" 77 tcp_write_timeout: "5s" 78 wait_timeout: "1s" 79 max_msg_len: 16498688 80 session_name: "client" 81