RetryPolicyProperties
Configuration properties for Restate's retry policy when retrying failed handler invocations.
This policy controls an exponential backoff with optional capping and a terminal action:
initialInterval: delay before the first retry attempt.exponentiationFactor: multiplier applied to the previous delay to compute the next delay.maxInterval: upper bound for any computed delay.maxAttempts: maximum number of attempts (initial call counts as the first attempt).onMaxAttempts: what to do whenmaxAttemptsis reached.
Unset fields inherit the corresponding defaults from the Restate server configuration.
See also
Constructors
Link copied to clipboard
constructor()
constructor(@Nullable initialInterval: @Nullable Duration, @Nullable exponentiationFactor: @Nullable Double, @Nullable maxInterval: @Nullable Duration, @Nullable maxAttempts: @Nullable Integer, @Nullable onMaxAttempts: @Nullable RetryPolicyProperties.OnMaxAttempts)
Types
Link copied to clipboard
enum OnMaxAttempts
Behavior when retry policy reaches getMaxAttempts attempts.