Skip to main content

CLI to move messages from a AWS SQS Queue to another

Project description

Phoenix Letter Build Status License: MIT

Bring your messages back from Dead Letter Queue with this command line script that helps you moving messages from DLQ back to the main queue for reprocessing in SQS. It also can be used to move messages between queues in SQS.

Usage

After installation you will have a command with the following params:

usage: phoenix_letter [-h] --src SOURCE_QUEUE --dst DESTINATION_QUEUE
                      --access-key AWS_USER_ACCESS_KEY --secret-key
                      AWS_USER_SECRET_KEY --region REGION
                      [--empty-receive EMPTY_RECEIVE]
phoenix_letter: error: the following arguments are required: --src, --dst, --access-key, --secret-key, --region
  • --src: Source Queue Name
  • --dst: Destination Queue Name
  • --access-key: AWS Access Key, make sure that the account used here has access to both queues.
  • --secret-key: AWS Secret Key, make sure that the account used here has access to both queues.
  • --region: AWS Region.
  • --empty-receive: [OPTIONAL][default value=10] Number of empty receives before the script gives up trying to get message from queue.*

* Sometimes the SQS returns false empty receives, where there is messages on queue but for some reason AWS decided not return anything on that requests. To understand more here a link from AWS docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phoenix_letter-0.1.6.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file phoenix_letter-0.1.6.tar.gz.

File metadata

  • Download URL: phoenix_letter-0.1.6.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.6

File hashes

Hashes for phoenix_letter-0.1.6.tar.gz
Algorithm Hash digest
SHA256 7e0850102d0a52dbfb1d5c4e9844363941c953934727037524cc75a53cbf4af2
MD5 803648ca3d14cac85b66593f18cf9a02
BLAKE2b-256 21056a08ed6ad2d54edeb20fe251552c050239f70d2637d97cc2a981469d5cfb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page