Record -
http
: LoadBalanceClientConfiguration
The configurations related to the load balance client endpoint.
Fields
- httpVersion string (default HTTP_1_1)
-
The HTTP version to be used to communicate with the endpoint
- http1Settings ClientHttp1Settings (default {})
-
Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings (default {})
-
Configurations related to HTTP/2 protocol
- timeoutInMillis int (default 60000)
-
The maximum time to wait (in milli seconds) for a response before closing the connection
- forwarded string (default disable)
-
The choice of setting forwarded/x-forwarded header
- followRedirects FollowRedirects? (default ())
-
Redirect related options
- proxy ProxyConfig? (default ())
-
Proxy related options
- poolConfig PoolConfiguration? (default ())
-
Configurations associated with request pooling
- targets TargetService[] (default [])
-
The upstream HTTP endpoints among which the incoming HTTP traffic load should be distributed
- cache CacheConfig (default {})
-
The configurations for controlling the caching behaviour
- compression Compression (default COMPRESSION_AUTO)
-
Specifies the way of handling compression (
accept-encoding
) header
- auth OutboundAuthConfig? (default ())
-
Configurations related to the HTTP authentication.
- circuitBreaker CircuitBreakerConfig? (default ())
-
Circuit Breaker configuration
- retryConfig RetryConfig? (default ())
-
Retry related options
- lbRule LoadBalancerRule? (default ())
-
LoadBalancing rule
- failover boolean (default true)
-
Configuration for load balancer whether to fail over in case of a failure