close

Filter

loading table of contents...

Deployment Manual / Version 2512.0

Table Of Contents

3.19 gRPC Properties

gRPC clients can be configured via Spring gRPC Configuration Properties (spring.grpc.*). Find out more about those properties in the official Spring gRPC documentation. Additionally, the following configuration properties can be used for all gRPC Clients.

grpc.client.default-shutdown-grace-period
Type Duration
Description

The default duration gRPC client channels will wait for a graceful shutdown.

The default value is 30 seconds.

grpc.client.default-timeout
Type Duration
Description

The default duration gRPC client services will wait for an answer from the server. If no unit is given the value is interpreted as seconds.

The default value is 20 seconds.

grpc.client.service-timeouts
Type Map<String,Duration>
Description

Specifies timeouts for gRPC client service names individually. Any service whose name is present in this mapping, will terminate calls after the specified duration, overriding the default timeout for its calls.

A negative value means no timeout. The client will wait indefinitely for an answer from the server.

If no duration unit is given the value is interpreted as seconds.

grpc.client.shutdown-grace-periods
Type Map<String,Duration>
Description

Specifies the time to wait for the channel to gracefully shutdown. Any channel whose name is present in this mapping, will use the specified duration for its shutdown grace period, overriding the default shutdown grace period.

If no duration unit is given the value is interpreted as milliseconds.

Table 3.66. gRPC Client Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.