userver: client_factory_component
Loading...
Searching...
No Matches
client_factory_component
Name Description Default value
auth-type An optional authentication method. Possible values: insecure, ssl. insecure
ssl-credentials-options SSL options for cases when auth-type is ssl. {}
ssl-credentials-options.pem-root-certs The path to file containing the PEM encoding of the server root certificates. absent
ssl-credentials-options.pem-private-key The path to file containing the PEM encoding of the client's private key. absent
ssl-credentials-options.pem-cert-chain The path to file containing the PEM encoding of the client's certificate chain. absent
retry-limiter Component that will be used as retry-limiter for this client. Retry limiter tracks success/failure rates and decides whether retries should be allowed If ommited (or explicitly set to 'null'), the default retry-limiter from grpc-client-common (if any) is used, unless 'use-constant-dynamic-configs' is in effect, in which case the grpc-client-common default is skipped (it may itself depend on components::DynamicConfig). Set to 'none' to explicitly force no retry-limiter for this client, even if a grpc-client-common default is configured.
retry-config Retry configuration for outgoing RPCs. {}
retry-config.attempts The maximum number of RPC attempts, including the original attempt. 1
channel-args.* A map of channel arguments, see gRPC Core docs. Each of the elements: value of channel argument, must be a string or an integer. {}
default-service-config Default value for gRPC service config. See https://github.com/grpc/grpc/blob/master/doc/service_config.md This value is used if the name resolution process can't get value from DNS. absent
channel-count Number of channels created for each endpoint. 1
use-constant-dynamic-configs Whether to use a constant dynamic_config::Source built from components::DynamicConfig's own fallback defaults (dynamic-config.defaults/defaults-path), instead of waiting for the first successful dynamic config update via GetSource(). Defaults to false. Also affects the retry-limiter default: see the description of 'retry-limiter' above.