Search documentation of phoenix_kit

# mix phoenix_kit.process_dlq (phoenix_kit v1.6.19)

View Source

Mix task to process failed email events from AWS SQS Dead Letter Queue (DLQ).

This task retrieves messages that failed to process in the main queue and attempts to reprocess them. Useful for recovering from temporary failures or processing issues that sent messages to the DLQ.

## Usage

    # Process up to 100 messages (default)
    mix phoenix_kit.process_dlq

    # Process specific number of messages
    mix phoenix_kit.process_dlq --limit 50

    # Process with verbose logging
    mix phoenix_kit.process_dlq --verbose

    # Delete processed messages from DLQ
    mix phoenix_kit.process_dlq --delete

    # Show summary of DLQ contents
    mix phoenix_kit.process_dlq --summary

    # Force processing of all messages
    mix phoenix_kit.process_dlq --force