close

Filter

loading table of contents...

Deployment Manual / Version 2506.0

Table Of Contents

3.20 gRPC Properties

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

grpc.stubs.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.stubs.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.

Table 3.70. 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.