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.5.tar.gz (3.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: phoenix_letter-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 d900cffe8c11077cb3e08c278dc5e199230d7b2160e978ca3494aa628ba14f1d
MD5 2f94cfd4eff4e06a7ddd0395aaa58aa0
BLAKE2b-256 aeb85cad46109ef18ba713da0efb1a28d471550600fc9200a8d89aa7830dee89

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