mvsqs

    1.0.2 • Public • Published

    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.

    Keywords

    Install

    npm i mvsqs

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    60.6 kB

    Total Files

    43

    Last publish

    Collaborators

    • jfoeh