- GrpcConfig (webserver.grpc) Configuration
Type: io.helidon.webserver.grpc.GrpcConfig
Config keygrpccontent_copyThis type provides the following service implementations:
io.helidon.webserver.spi.ProtocolConfigProvider
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
enable-compression | boolean | true | Whether to support compression if requested by a client. If explicitly disabled, no compression will ever be used by the server even if a client-compatible compressor is found. |
enable-metrics | boolean | false | Whether to collect metrics for gRPC server calls. |
max-read-buffer-size | int | 2097152 | Max size of gRPC reading buffer. If receiving an entity larger than this, processing will be aborted. This can help prevent DoS attacks. Default set to 2 MB. |