blob: d0eac4ba8f9c572807ce743a17af6255c622f439 [file] [log] [blame]
# dubbo client yaml configure file
check: true
# client
request_timeout : "3s"
# connect timeout
connect_timeout : "3s"
# application config
application:
organization : "ikurento.com"
name : "BDTService"
module : "dubbogo say-hello client"
version : "0.0.1"
owner : "ZX"
environment : "dev"
registries :
"demoZk":
protocol: "zookeeper"
timeout : "3s"
address: "127.0.0.1:2181"
username: ""
password: ""
references:
"GrpcGreeterImpl":
# 可以指定多个registry,使用逗号隔开;不指定默认向所有注册中心注册
registry: "demoZk"
protocol : "grpc"
interface : "io.grpc.examples.helloworld.GreeterGrpc$IGreeter"
cluster: "failover"
methods :
- name: "SayHello"
retries: 3
protocol_conf:
grpc:
reconnect_interval: 0
connection_number: 2
heartbeat_period: "5s"
session_timeout: "20s"
pool_size: 64
pool_ttl: 600
getty_session_param:
compress_encoding: false
tcp_no_delay: true
tcp_keep_alive: true
keep_alive_period: "120s"
tcp_r_buf_size: 262144
tcp_w_buf_size: 65536
tcp_read_timeout: "1s"
tcp_write_timeout: "5s"
wait_timeout: "1s"
max_msg_len: 10240
session_name: "client"