Skip to content

Interactive node script for moving messages from one sqs queue to another in your aws account

License

Notifications You must be signed in to change notification settings

okarlsson/sqsmove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqsmove 📯

Interactive script that allows you to send messages from one queue to another in sqs.

Setup

Create a .aws folder with two files, "config" and "credentials" and enter your access information and config as explained here.

credentials

[default]
aws_access_key_id=XXXX
aws_secret_access_key=XXXXX

config

[default]
region=<<your aws region>>
output=json

Run

git clone git@github.com:okarlsson/sqsmove.git
cd sqsmove
npm install
node index

Options

Filter messages

node index -f string / --filter string

Concurrency - how many requests to sqs to run concurrently

node index -c 15 / --concurrency 15

Todos

  1. Give an option to delete the messages from the old queue
  2. Use the sendMessageBatch() method to send messages in batches instead of one at the time

About

Interactive node script for moving messages from one sqs queue to another in your aws account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published