Redrive Ecom Indexing Pipeline
Background
The ecom indexing pipeline is an SQS queue of messages that trigger a worker to download doc data from S3 and push it into Marqo.
If the indexing experiences problems (other than invalid data), and the messages can’t be successfully retried, they are sent to the dead letter queue (DLQ). From there, rather than losing the data or asking the customer to try again, we may choose to redrive, adding the DLQ messages to the back of the SQS docs queue.
Process
- Find the DLQ for your index in SQS. Its name should be
prod-{index_name}-dlq -
Select the source queue as a custom destination (TODO: can we make the source queue option work, e.g. with more metadata on the messages?)

-
Double check that the DLQ name is the same as your selected “existing queue” plus the
-dlqsuffix. -
Click “DLQ redrive”

-
Verify that it worked (the error on failure is easy to miss)

-
Verify that the redriven messages appear on the source queue (e.g. uptick in visible messages and/or deletions).