Configuration Reference

Version:3.1.4-SNAPSHOT

Grpc Client Runtime Config Properties

🔗
Table 1. Configuration Properties for GrpcClientTracingInterceptorConfiguration
Property Type Description

grpc.client.tracing.tracer

io.opentracing.Tracer

grpc.client.tracing.operation-name

io.opentracing.contrib.grpc.OperationNameConstructor

grpc.client.tracing.traced-attributes

io.opentracing.contrib.grpc.TracingClientInterceptor$ClientRequestAttribute

grpc.client.tracing.active-span-source

io.opentracing.contrib.grpc.ActiveSpanSource

grpc.client.tracing.active-span-context-source

io.opentracing.contrib.grpc.ActiveSpanContextSource

grpc.client.tracing.client-span-decorator

io.opentracing.contrib.grpc.ClientSpanDecorator

grpc.client.tracing.client-close-decorator

io.opentracing.contrib.grpc.ClientCloseDecorator

🔗
Table 2. Configuration Properties for GrpcNamedManagedChannelConfiguration
Property Type Description

grpc.channels.*.for-address

java.net.SocketAddress

grpc.channels.*.for-target

java.lang.String

grpc.channels.*.channel-type

java.lang.Class

grpc.channels.*.channel-factory

io.netty.channel.ChannelFactory

grpc.channels.*.negotiation-type

io.grpc.netty.NegotiationType

grpc.channels.*.event-loop-group

io.netty.channel.EventLoopGroup

grpc.channels.*.ssl-context

io.netty.handler.ssl.SslContext

grpc.channels.*.initial-flow-control-window

int

grpc.channels.*.flow-control-window

int

grpc.channels.*.max-inbound-metadata-size

int

grpc.channels.*.keep-alive-time

java.time.Duration

grpc.channels.*.keep-alive-timeout

java.time.Duration

grpc.channels.*.keep-alive-without-calls

boolean

grpc.channels.*.local-socket-picker

io.grpc.netty.NettyChannelBuilder$LocalSocketPicker

grpc.channels.*.max-inbound-message-size

int

grpc.channels.*.executor

java.util.concurrent.Executor

grpc.channels.*.offload-executor

java.util.concurrent.Executor

grpc.channels.*.intercept

java.util.List

grpc.channels.*.r-agent

java.lang.String

grpc.channels.*.override-authority

java.lang.String

grpc.channels.*.default-load-balancing-policy

java.lang.String

grpc.channels.*.decompressor-registry

io.grpc.DecompressorRegistry

grpc.channels.*.compressor-registry

io.grpc.CompressorRegistry

grpc.channels.*.idle-timeout

java.time.Duration

grpc.channels.*.max-retry-attempts

int

grpc.channels.*.max-hedged-attempts

int

grpc.channels.*.retry-buffer-size

long

grpc.channels.*.per-rpc-buffer-limit

long

grpc.channels.*.set-binary-log

io.grpc.BinaryLog

grpc.channels.*.max-trace-events

int

grpc.channels.*.proxy-detector

io.grpc.ProxyDetector

grpc.channels.*.default-service-config

java.util.Map

🔗
Table 3. Configuration Properties for GrpcDefaultManagedChannelConfiguration
Property Type Description

grpc.client.for-address

java.net.SocketAddress

grpc.client.for-target

java.lang.String

grpc.client.channel-type

java.lang.Class

grpc.client.channel-factory

io.netty.channel.ChannelFactory

grpc.client.negotiation-type

io.grpc.netty.NegotiationType

grpc.client.event-loop-group

io.netty.channel.EventLoopGroup

grpc.client.ssl-context

io.netty.handler.ssl.SslContext

grpc.client.initial-flow-control-window

int

grpc.client.flow-control-window

int

grpc.client.max-inbound-metadata-size

int

grpc.client.keep-alive-time

java.time.Duration

grpc.client.keep-alive-timeout

java.time.Duration

grpc.client.keep-alive-without-calls

boolean

grpc.client.local-socket-picker

io.grpc.netty.NettyChannelBuilder$LocalSocketPicker

grpc.client.max-inbound-message-size

int

grpc.client.executor

java.util.concurrent.Executor

grpc.client.offload-executor

java.util.concurrent.Executor

grpc.client.intercept

java.util.List

grpc.client.r-agent

java.lang.String

grpc.client.override-authority

java.lang.String

grpc.client.default-load-balancing-policy

java.lang.String

grpc.client.decompressor-registry

io.grpc.DecompressorRegistry

grpc.client.compressor-registry

io.grpc.CompressorRegistry

grpc.client.idle-timeout

java.time.Duration

grpc.client.max-retry-attempts

int

grpc.client.max-hedged-attempts

int

grpc.client.retry-buffer-size

long

grpc.client.per-rpc-buffer-limit

long

grpc.client.set-binary-log

io.grpc.BinaryLog

grpc.client.max-trace-events

int

grpc.client.proxy-detector

io.grpc.ProxyDetector

grpc.client.default-service-config

java.util.Map

Grpc Server Runtime Config Properties

🔗
Table 4. Configuration Properties for GrpcServerConfiguration
Property Type Description

grpc.server.for-port

int

grpc.server.for-address

java.net.SocketAddress

grpc.server.add-listen-address

java.net.SocketAddress

grpc.server.channel-type

java.lang.Class

grpc.server.channel-factory

io.netty.channel.ChannelFactory

grpc.server.boss-event-loop-group

io.netty.channel.EventLoopGroup

grpc.server.worker-event-loop-group

io.netty.channel.EventLoopGroup

grpc.server.max-concurrent-calls-per-connection

int

grpc.server.initial-flow-control-window

int

grpc.server.flow-control-window

int

grpc.server.max-inbound-message-size

int

grpc.server.max-inbound-metadata-size

int

grpc.server.keep-alive-time

java.time.Duration

grpc.server.keep-alive-timeout

java.time.Duration

grpc.server.max-connection-idle

java.time.Duration

grpc.server.max-connection-age

java.time.Duration

grpc.server.max-connection-age-grace

java.time.Duration

grpc.server.permit-keep-alive-time

java.time.Duration

grpc.server.permit-keep-alive-without-calls

boolean

grpc.server.executor

java.util.concurrent.Executor

grpc.server.add-service

io.grpc.ServerServiceDefinition

grpc.server.intercept

io.grpc.ServerInterceptor

grpc.server.add-transport-filter

io.grpc.ServerTransportFilter

grpc.server.add-stream-tracer-factory

io.grpc.ServerStreamTracer$Factory

grpc.server.fallback-handler-registry

io.grpc.HandlerRegistry

grpc.server.decompressor-registry

io.grpc.DecompressorRegistry

grpc.server.compressor-registry

io.grpc.CompressorRegistry

grpc.server.handshake-timeout

java.time.Duration

grpc.server.set-binary-log

io.grpc.BinaryLog

grpc.server.add-services

java.util.List

grpc.server.instance-id

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.

grpc.server.await-termination

java.time.Duration

Sets the maximum duration application will wait for the server to terminate and release all resources.

🔗
Table 5. Configuration Properties for GrpcServerTracingInterceptorConfiguration
Property Type Description

grpc.server.tracing.tracer

io.opentracing.Tracer

grpc.server.tracing.operation-name

io.opentracing.contrib.grpc.OperationNameConstructor

grpc.server.tracing.traced-attributes

io.opentracing.contrib.grpc.TracingServerInterceptor$ServerRequestAttribute

grpc.server.tracing.server-span-decorator

io.opentracing.contrib.grpc.ServerSpanDecorator

grpc.server.tracing.server-close-decorator

io.opentracing.contrib.grpc.ServerCloseDecorator

🔗
Table 6. Configuration Properties for GrpcSslConfiguration
Property Type Description

grpc.server.ssl-context

io.netty.handler.ssl.SslContext

grpc.server.ssl.cert-chain

java.lang.String

Sets the cert chain

grpc.server.ssl.private-key

java.lang.String

Sets the private key