| Crates.io | sqsmv |
| lib.rs | sqsmv |
| version | 0.1.1 |
| created_at | 2020-12-19 21:54:51.255634+00 |
| updated_at | 2020-12-19 21:54:51.255634+00 |
| description | Moves messages from one sqs queue into another queue e.g. replay dlq to non-dlq |
| homepage | https://github.com/kenshih/sqsmv |
| repository | https://github.com/kenshih/sqsmv |
| max_upload_size | |
| id | 324704 |
| size | 56,128 |
STATUS: alpha
Moves messages from one sqs queue into another queue e.g. replay dlq to non-dlq
It does so by:
chmod +x sqsmv to give execute privesAssuming you have AWS Named Profiles set up and both queues are under the same subaccount, this is how to run sqsmv from the command line ( also see sqsmv --help).
AWS_PROFILE=my-profile \
sqsmv \
--from-q <FROM_SQS_QUEUE> \
--to-q <TO_SQS_QUEUE>
# e.g. it should look something like this:
AWS_PROFILE=profile11111111 \
sqsmv \
-f'https://sqs.us-east-1.amazonaws.com/11111111/my-queue-dlq' \
-t'https://sqs.us-east-1.amazonaws.com/11111111/my-queue'
This program is very conservative with errors right now.
AWS_PROFILE=my-profile \
cargo run -- \
-f'https://sqs.us-east-1.amazonaws.com/<my-acct#>/my-queue-dlq' \
-t'https://sqs.us-east-1.amazonaws.com/<my-acct#>/my-queue'