public sealed class Pipeline.Types.RetryPolicy : IMessage<Pipeline.Types.RetryPolicy>, IEquatable<Pipeline.Types.RetryPolicy>, IDeepCloneable<Pipeline.Types.RetryPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class Pipeline.Types.RetryPolicy.
The retry policy configuration for the Pipeline. The pipeline
exponentially backs off in case the destination is non responsive or
returns a retryable error code. The default semantics are as follows:
The backoff starts with a 5 second delay and doubles the
delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.).
The delay is capped at 60 seconds by default.
Please note that if you set the min_retry_delay and max_retry_delay fields
to the same value this will make the duration between retries constant.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003ePipeline.Types.RetryPolicy\u003c/code\u003e class is 2.6.0, with several previous versions available, from 2.5.0 down to 1.0.0, accessible in the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePipeline.Types.RetryPolicy\u003c/code\u003e is a class within the Eventarc v1 API that manages the retry policy configuration for a pipeline, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe retry policy configuration, by default, employs exponential backoff with an initial 5-second delay, doubling the delay with each failed attempt, and capped at 60 seconds, but this can be customized.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetryPolicy\u003c/code\u003e class has properties to set the \u003ccode\u003eMaxAttempts\u003c/code\u003e, \u003ccode\u003eMaxRetryDelay\u003c/code\u003e, and \u003ccode\u003eMinRetryDelay\u003c/code\u003e, allowing you to control the maximum number of retries, as well as the maximum and minimum wait times between retry attempts, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eRetryPolicy\u003c/code\u003e class, the first being a basic constructor, while the other takes a \u003ccode\u003ePipeline.Types.RetryPolicy\u003c/code\u003e object as a parameter, that are used to instantiate it.\u003c/p\u003e\n"]]],[],null,[]]