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

Uploaded Source

File details

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

File metadata

  • Download URL: phoenix_letter-0.1.4.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/3.5.6

File hashes

Hashes for phoenix_letter-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bec4184ee660ecc9e21f3780f407aa23a62eea09561839868b49d9737fd135fd
MD5 1d89c3775393e98ba7878dabd9b484b0
BLAKE2b-256 8edbc83cd0728fe3ebbe0431e89df222e85b4c93cfd9ca15f43bd8c97188acf5

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