CLI to move messages from a AWS SQS Queue to another
Project description
Phoenix Letter
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 SQS queues. It also can be used to move messages between queues in SQS.
Usage
After installation you will have a command with the following params:
$ phoenix_letter --help
usage: main.py [-h] --src SOURCE_QUEUE --dst DESTINATION_QUEUE [--aws-keys]
--region REGION [--empty-receive EMPTY_RECEIVE]
optional arguments:
-h, --help show this help message and exit
--src SOURCE_QUEUE Source SQS Queue Name
--dst DESTINATION_QUEUE Destination SQS Queue Name
--aws-keys Flag that indicates you want to enter custom AWS keys.
--region REGION AWS Region
--src
: Source Queue Name--dst
: Destination Queue Name--aws-keys
: [OPTIONAL] The CLI will prompt you to enter the AWS keys securely. Default: Fallback to Boto, more information here.--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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(4.0 kB
view details)
File details
Details for the file phoenix_letter-0.2.0.tar.gz
.
File metadata
- Download URL: phoenix_letter-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04c5a2ad4a4559c309eb49108e4451c750cccb9d0d11db98267a2296d5c79e4 |
|
MD5 | 2b07f655ced332eafe6973d9ead37808 |
|
BLAKE2b-256 | 06a870834d6f56a765d0805b29711ff1a260850a29649abbbf03c7c1e02724c4 |