This Project provides a CLI tool for moving messages from one AWS SQS queue to another. For example to run failed messages from your deadletter queues again.
- AWS environment configuration
- Yarn or npm
- Node
Using yarn:
$ yarn global add @joblocal/aws-move-queue-messages
Using npm:
$ npm install -g @joblocal/aws-move-queue-messages
Before you can use this package you need to configure your AWS environment variables. The easiest way is to use AWS CLI.
After installing the package you can use it as follows.
$ aws-move-queue-messages
With all optional CLI arguments:
$ aws-move-queue-messages <from-queue-url> <to-queue-url> -r [AWS-REGION] -y
Any CLI argument or option you do not specify will fallback to a CLI prompt. The -y
CLI option will answer the confirmation prompt automatically with "yes".
Use the Source Url parameter to specify the source queue from which the messages are to be read. Use the Target Url parameter to specify the target queue in which the messages are written.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and feature requests.
- Joblocal GmbH - Initial work - Joblocal
See also the list of contributors who participated in this project.