Package io.quarkus.grpc.runtime.config
Class GrpcServerConfiguration
java.lang.Object
io.quarkus.grpc.runtime.config.GrpcServerConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether ALPN should be used.gRPC compression, e.g.booleanEnables the gRPC Reflection Service.The gRPC handshake timeout.The gRPC server host.Configure InProcess usage, if enabled.intNumber of gRPC server verticle instances.The max inbound message size in bytes.The max inbound metadata size in bytesConfigures the netty server settings.booleanDisables SSL, and uses plain text instead.intThe gRPC Server port.The SSL/TLS config.intThe gRPC Server port used for tests.Configures the transport security.booleanDo we use separate HTTP server to serve gRPC requests.Configure XDS usage, if enabled. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
useSeparateServer
Do we use separate HTTP server to serve gRPC requests. Set this to false if you want to use new Vert.x gRPC support, which uses existing Vert.x HTTP server. -
xds
Configure XDS usage, if enabled. -
inProcess
Configure InProcess usage, if enabled. -
port
The gRPC Server port. -
testPort
The gRPC Server port used for tests. -
host
The gRPC server host. -
handshakeTimeout
The gRPC handshake timeout. -
maxInboundMessageSize
The max inbound message size in bytes. -
maxInboundMetadataSize
The max inbound metadata size in bytes -
ssl
The SSL/TLS config. -
plainText
Disables SSL, and uses plain text instead. If disabled, configure the ssl configuration. -
alpn
Whether ALPN should be used. -
transportSecurity
Configures the transport security. -
enableReflectionService
Enables the gRPC Reflection Service. By default, the reflection service is only exposed in `dev` mode. This setting allows overriding this choice and enable the reflection service every time. -
instances
Number of gRPC server verticle instances. This is useful for scaling easily across multiple cores. The number should not exceed the amount of event loops. -
netty
Configures the netty server settings. -
compression
gRPC compression, e.g. "gzip"
-
-
Constructor Details
-
GrpcServerConfiguration
public GrpcServerConfiguration()
-