RetryPolicy
API reference for RetryPolicy
Interface: RetryPolicy
Section titled “Interface: RetryPolicy”Retry policy configuration for subscribers.
Supports both the legacy format (maxAttempts + backoffMinutes) and the
V2 format with strategy, initialDelayMs, maxDelayMs, multiplier,
and jitterPercent for fine-grained control.
Properties
Section titled “Properties”backoffMinutes?
Section titled “backoffMinutes?”
optionalbackoffMinutes:number
How many minutes to wait between retry attempts (legacy format)
initialDelayMs?
Section titled “initialDelayMs?”
optionalinitialDelayMs:number
Initial delay in milliseconds before the first retry
jitterPercent?
Section titled “jitterPercent?”
optionaljitterPercent:number
Percentage of jitter to add (0-100) to prevent thundering herd
maxAttempts
Section titled “maxAttempts”maxAttempts:
number
Maximum number of delivery attempts before giving up
maxDelayMs?
Section titled “maxDelayMs?”
optionalmaxDelayMs:number
Maximum delay in milliseconds between retries
multiplier?
Section titled “multiplier?”
optionalmultiplier:number
Multiplier applied to the delay between consecutive retries (for exponential/linear strategies)
strategy?
Section titled “strategy?”
optionalstrategy:"exponential"|"linear"|"fixed"
Retry strategy: ‘exponential’ (default), ‘linear’, or ‘fixed’