Skip to content
/ sqsmv Public
forked from scottjbarr/sqsmv

Move messages between two SQS queues

License

Notifications You must be signed in to change notification settings

vercel/sqsmv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqsmv

Move all messages from one SQS queue to another.

Installation

Source

git clone git@github.com: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

About

Move messages between two SQS queues

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 70.2%
  • Makefile 29.8%