Configuration Reference
Version:5.2.1-SNAPSHOT
Micronaut Grpc Client Runtime Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.util.Map |
Applies the gRPC default service config using Micronaut’s nested/raw map binding. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
||
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
||
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.util.Map |
Applies the gRPC default service config using Micronaut’s nested/raw map binding. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
||
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
||
|
boolean |
||
|
java.util.concurrent.Executor |
||
|
java.util.List |
||
|
io.grpc.ClientTransportFilter |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
long |
||
|
long |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.BinaryLog |
||
|
int |
||
|
io.grpc.ProxyDetector |
||
|
boolean |
||
|
io.grpc.ChannelConfigurator |
||
|
boolean |
||
|
boolean |
||
|
io.grpc.netty.NegotiationType |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
boolean |
||
|
boolean |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
io.grpc.netty.NettyChannelBuilder$LocalSocketPicker |
||
|
int |
Micronaut Grpc Inprocess Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
Sets the in-process server name for test transports. |
Micronaut Grpc Opentracing Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
io.opentracing.Tracer |
||
|
io.opentracing.contrib.grpc.OperationNameConstructor |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.TracingClientInterceptor$ClientRequestAttribute |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.ActiveSpanSource |
||
|
io.opentracing.contrib.grpc.ActiveSpanContextSource |
||
|
io.opentracing.contrib.grpc.ClientSpanDecorator |
||
|
io.opentracing.contrib.grpc.ClientCloseDecorator |
| Property | Type | Description | Default value |
|---|---|---|---|
|
io.opentracing.Tracer |
||
|
io.opentracing.contrib.grpc.OperationNameConstructor |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.TracingClientInterceptor$ClientRequestAttribute |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.ActiveSpanSource |
||
|
io.opentracing.contrib.grpc.ActiveSpanContextSource |
||
|
io.opentracing.contrib.grpc.ClientSpanDecorator |
||
|
io.opentracing.contrib.grpc.ClientCloseDecorator |
| Property | Type | Description | Default value |
|---|---|---|---|
|
io.opentracing.Tracer |
||
|
io.opentracing.contrib.grpc.OperationNameConstructor |
||
|
io.opentracing.contrib.grpc.TracingServerInterceptor$ServerRequestAttribute |
||
|
boolean |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.ServerSpanDecorator |
||
|
io.opentracing.contrib.grpc.ServerCloseDecorator |
| Property | Type | Description | Default value |
|---|---|---|---|
|
io.opentracing.Tracer |
||
|
io.opentracing.contrib.grpc.OperationNameConstructor |
||
|
io.opentracing.contrib.grpc.TracingServerInterceptor$ServerRequestAttribute |
||
|
boolean |
||
|
boolean |
||
|
io.opentracing.contrib.grpc.ServerSpanDecorator |
||
|
io.opentracing.contrib.grpc.ServerCloseDecorator |
Micronaut Grpc Server Runtime Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
True if SSL is used |
|
|
java.lang.String |
Sets the executor bean name. |
|
|
java.lang.String |
Sets the instance id name used for registering the GRPC service in Service Discovery. If this is not set, the application name will be used. |
|
|
java.time.Duration |
Sets the maximum duration application will wait for the server to terminate and release all resources. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
io.grpc.ServerCallExecutorSupplier |
||
|
io.grpc.ServerServiceDefinition |
||
|
java.util.List |
||
|
io.grpc.ServerInterceptor |
||
|
io.grpc.ServerTransportFilter |
||
|
io.grpc.ServerStreamTracer$Factory |
||
|
io.grpc.HandlerRegistry |
||
|
io.grpc.DecompressorRegistry |
||
|
io.grpc.CompressorRegistry |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
java.time.Duration |
||
|
boolean |
||
|
int |
||
|
int |
||
|
io.grpc.BinaryLog |
||
|
io.grpc.MetricSink |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.net.SocketAddress |
||
|
java.lang.Class |
||
|
io.netty.channel.ChannelFactory |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.channel.EventLoopGroup |
||
|
io.netty.handler.ssl.SslContext |
||
|
int |
||
|
int |
||
|
int |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The cert chain |
|
|
java.lang.String |
The private key |
|
|
java.lang.String |
Sets the location of the PEM-encoded CA certificates used to verify client certificates, for example {@code classpath:ca.crt} or {@code file:/etc/grpc/ca.crt}. Without it, the JVM’s default trust store is used. |
|
|
io.netty.handler.ssl.ClientAuth |
Sets whether clients must present a certificate: {@code none} (the default), {@code optional} or {@code require}. Use {@code require} for mutual TLS. |
Micronaut Grpc Server Security Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
true |
|
|
io.grpc.Status$Code |
The gRPC status returned when authentication is missing. |
UNAUTHENTICATED |
|
io.grpc.Status$Code |
The gRPC status returned when authorization fails. |
PERMISSION_DENIED |
|
java.util.List |
The gRPC authorization rules. Each entry has a {@code pattern}, a regular expression matched against the fully qualified gRPC method name (for example {@code helloworld.Greeter/SayHello}), and the {@code access} rules required to invoke matching methods. The first matching entry applies. <p>These rules are separate from {@code micronaut.security.intercept-url-map}, which holds HTTP path patterns.</p> |
Micronaut Grpc Server Security Jwt Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
true |
|
|
java.lang.String |
The metadata key name that contains the JWT value. |
JWT |
Micronaut Protobuff Json Support Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether REST transcoding is enabled. Defaults to {@code false}. |
|
|
java.time.Duration |
The deadline applied to each transcoded gRPC call |
|
|
boolean |
| Property | Type | Description | Default value |
|---|---|---|---|
|
int |
Sets the maximum number of messages collected from a streaming response. |
|
|
long |
Sets the maximum estimated serialized response size in bytes. |