Component that configures and manages the gRPC server.
Static options:
The component name for static config is "grpc-server"
.
Name | Description | Default value |
access-tskv-logger | logger name for access-tskv.log | - |
port | the port to use for all gRPC services, or 0 to pick any available | - |
unix-socket-path | unix socket absolute path to listen to, instead of listening on port | - |
completion-queue-count | count of completion queues to create | 2 |
channel-args | a map of channel arguments, see gRPC Core docs | {} |
native-log-level | min log level for the native gRPC library | 'error' |
enable-channelz | initialize service with runtime info about gRPC connections | false |
service-defaults | default config values for gRPC services, see config schema | {} |
- See also
- https://grpc.github.io/grpc/core/group__grpc__arg__keys.html
- Examples
- samples/grpc_middleware_service/src/main.cpp, and samples/grpc_service/grpc_service.cpp.
Definition at line 41 of file server_component.hpp.