RouteSpecHttpRouteRetryPolicy

data class RouteSpecHttpRouteRetryPolicy(val httpRetryEvents: List<String>? = null, val maxRetries: Int, val perRetryTimeout: RouteSpecHttpRouteRetryPolicyPerRetryTimeout, val tcpRetryEvents: List<String>? = null)

Constructors

Link copied to clipboard
constructor(httpRetryEvents: List<String>? = null, maxRetries: Int, perRetryTimeout: RouteSpecHttpRouteRetryPolicyPerRetryTimeout, tcpRetryEvents: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

Link copied to clipboard

Maximum number of retries.

Link copied to clipboard
Link copied to clipboard
val tcpRetryEvents: List<String>? = null

List of TCP retry events. The only valid value is connection-error. You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.