Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vercel/sqsmv
Move messages between two SQS queues
https://github.com/vercel/sqsmv
Last synced: 3 months ago
JSON representation
Move messages between two SQS queues
- Host: GitHub
- URL: https://github.com/vercel/sqsmv
- Owner: vercel
- License: mit
- Fork: true (scottjbarr/sqsmv)
- Created: 2020-12-15T00:40:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-10T12:40:57.000Z (over 2 years ago)
- Last Synced: 2024-09-23T02:32:21.158Z (3 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sqsmv
Move all messages from one SQS queue to another.
## Installation
### Source
```
git clone [email protected]:vercel/sqsmv.git
cd sqmv
go build
```Note: **DO NOT** use `go get`. It will install an old version
## Configuration
The `AWS_SECRET_ACCESS_KEY`, `AWS_ACCESS_KEY_ID`, and `AWS_REGION`
environment variables must be set.## Usage
Supply source and destination URL endpoints.
sqsmv -src https://region.queue.amazonaws.com/123/queue-a -dest https://region.queue.amazonaws.com/123/queue-b
You can also limit the number of messages you want to move (⚠️ note that the limit is approximate - in the worse case you will get 10 more messages than the limit you entered):sqsmv -src https://region.queue.amazonaws.com/123/queue-a -dest https://region.queue.amazonaws.com/123/queue-b -maxMsgCount 20
## License
The MIT License (MIT)
Copyright (c) 2016-2018 Scott Barr
See [LICENSE.md](LICENSE.md)