Creates a new KinesisRetrier
KinesisRetrier will retry any failed records within a batch put, but will NOT retry the KinesisClient.send() call itself if that throws.
KinesisRetrier options
The KinesisClient instance
Optional
retries?: numberMax number of retries for the batch - Default 5
Optional
retryDelay, in milliseconds, for the first exponential backoff after a failure
Private
Readonly
_kinesisPrivate
Readonly
_retriesPrivate
Readonly
_retryPrivate
delayGenerated using TypeDoc
Retries record failures within a Kinesis batch put
KinesisRetrier will retry any failed records within a batch put, but will NOT retry the KinesisClient.send() call itself if that throws.