To retry based on number of attempts, use:

StreamRetry.maxAttempts(5)

To retry based on the age of a record, use:

StreamRetry.maxAge(Duration.minutes(5))

Constructors

Properties

Methods

Constructors

Properties

amount: number
retryType: RetryType

Methods