Skip to main content

CLI to move messages from a AWS SQS Queue to another

Project description

Phoenix Letter Build Status License: MIT

Command line script to help moving messages from DLQ back to the main queue for reprocessing in AWS SQS. Can be used to move messages to any other queue.

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 lnk 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.3.tar.gz (3.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: phoenix_letter-0.1.3.tar.gz
  • Upload date:
  • Size: 3.7 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/2.7.15

File hashes

Hashes for phoenix_letter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8c2fbf4aa24755f0409f1e10fd738f603c0ea1040b00dd4a3e56d13435fa1f1d
MD5 38f830d7d47376516d6732fd242e13cb
BLAKE2b-256 42d76bf0063396a4b0bfe9da283c955fb3e863d154b7d8b19338d87a0b74c05b

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