BackendServiceCircuitBreakers

data class BackendServiceCircuitBreakers(val connectTimeout: BackendServiceCircuitBreakersConnectTimeout? = null, val maxConnections: Int? = null, val maxPendingRequests: Int? = null, val maxRequests: Int? = null, val maxRequestsPerConnection: Int? = null, val maxRetries: Int? = null)

Constructors

Link copied to clipboard
constructor(connectTimeout: BackendServiceCircuitBreakersConnectTimeout? = null, maxConnections: Int? = null, maxPendingRequests: Int? = null, maxRequests: Int? = null, maxRequestsPerConnection: Int? = null, maxRetries: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The timeout for new network connections to hosts. Structure is documented below.

Link copied to clipboard
val maxConnections: Int? = null

The maximum number of connections to the backend cluster. Defaults to 1024.

Link copied to clipboard
val maxPendingRequests: Int? = null

The maximum number of pending requests to the backend cluster. Defaults to 1024.

Link copied to clipboard
val maxRequests: Int? = null

The maximum number of parallel requests to the backend cluster. Defaults to 1024.

Link copied to clipboard

Maximum requests for a single backend connection. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive.

Link copied to clipboard
val maxRetries: Int? = null

The maximum number of parallel retries to the backend cluster. Defaults to 3.