Search documentation of phoenix_kit

# mix phoenix_kit.process_sqs_queue (phoenix_kit v1.6.19)

View Source

Mix task to process email events from AWS SQS queue.

This task polls the configured SQS queue for email status updates from AWS SES and processes them to update email tracking records in the database.

## Usage

    # Process up to 50 messages (default)
    mix phoenix_kit.process_sqs_queue

    # Process specific number of messages
    mix phoenix_kit.process_sqs_queue --limit 100

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

    # Delete processed messages from queue
    mix phoenix_kit.process_sqs_queue --delete

    # Filter by event type
    mix phoenix_kit.process_sqs_queue --filter delivery

    # Dry run (don't actually process)
    mix phoenix_kit.process_sqs_queue --dry-run