Skip to content

joshfoeh/mvsqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#mvsqs

Mvsqs is a global package that transfers all messages from one SQS queue to another. This could be useful in situations where you need to transfer messages from a DLQ or you are retiring a queue.

Mvsqs will run until it doesn't receive a message from the source queue for 10 seconds, at which point it will end the process.

##Install

npm i -g mvsqs

##Usage

Required arguments are:

-s --source (queue to move messages from)

-d --destination (queue where messages should end up)

Optionally you can provide:

-r --region (defaults to us-east-1)

--aws_access 

--aws_secret (aws will go through the typical credential chain if these aren't provided)

###Example

Basic example

sqsmv -s sourceUrl -d destUrl

Full Example

sqsmv --source=sourceUrl --dest=destUrl --region=us-west-1 --aws_access=XXXXXX --aws_secret=YYYYYY

###Built With

aws-sdk

command-line-args

This project is written in Typescript with full unit test coverage.

About

NPM package to transfer messages between SQS queues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published