Route Spec Http Route Retry Policy
data class RouteSpecHttpRouteRetryPolicy(val httpRetryEvents: List<String>? = null, val maxRetries: Int, val perRetryTimeout: RouteSpecHttpRouteRetryPolicyPerRetryTimeout, val tcpRetryEvents: List<String>? = null)
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
Per-retry timeout.
Link copied to clipboard
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
.