grpc
Configuration
## Client-related configuration
asjard:
clients:
## grpc client-related configuration
grpc:
## grpc client load balancing related configuration
## All configurations under the top-level directory can be configured in a specific service
# loadbalance: ""
## grpc client interceptors
# interceptors: ""
## grpc client certificate configuration, path same as servers.certFile configuration
# certFile: ""
## grpc client related parameters
options:
## keepalive related parameters
keepalive:
## After a duration of this time if the client doesn't see any activity it
## pings the server to see if the transport is still alive.
## If set below 10s, a minimum value of 10s will be used instead.
# time: 20s
## After having pinged for keepalive check, the client waits for a duration
## of Timeout and if no activity is seen even after that the connection is
## closed.
# timeout: 3s
## If true, client sends keepalive pings even with no active RPCs. If false,
## when there are no active RPCs, Time and Timeout will be ignored and no
## keepalive pings will be sent.
# permitWithoutStream: false
## Custom configuration for a specified service
## Configuration related to the grpc client that connects to the service whose instance.name is helloGrpc
## Configuration same as asjard.clients.grpc related configuration
helloGrpc:
## Load balancing for the helloGrpc service
# loadbalance: ""
## Certificate for the heeloGrpc service
# certFile: ""
## Interceptors for the helloGrpc service
# interceptors: ""
## Same configuration as clients.grpc.options
# options: {}Use
Last updated