Record Class ServiceConfig

java.lang.Object
java.lang.Record
org.springframework.boot.grpc.client.autoconfigure.ServiceConfig
Record Components:
loadbalancing - load balancing configurations in the order that they should be applied
method - method configuration
retrythrottling - retry throttling policy
healthcheck - health check configuration

Bindable service configuration for gRPC channel. Allows type safe binding of common service configuration options which can ultimately be applied to the Map provided by a GrpcClientDefaultServiceConfigCustomizer.

The configuration provided here is a subset of the canonical service_config.proto protocol definition. For advanced or experimental service configurations, use the GrpcClientDefaultServiceConfigCustomizer to directly add any entries supported by grpc-java.

Since:
4.1.0
Author:
Phillip Webb
See Also: