sqsmover command - github.com/mercury2269/sqsmover - Go Packages

sqsmover

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

SQS Message Mover

A simple and rough application that moves messages from one AWS SQS queue to another. Useful when you need to move deadletter queue messages back into the source queue. It hasn't been thoroughly tested, please use at your own risk or modify as needed.

Installing

Download and intall Go https://golang.org/dl/

Install binary with dependencies using the following command:

go get -u github.com/mercury2269/sqsmover/...

Configuring Credentials

Before using the sqsmover ensure that you've configured credentials. The best way to configure credentials on a development machine is to use the ~/.aws/credentials file, which might look like:

[default]
aws_access_key_id = AKID1234567890
aws_secret_access_key = MY-SECRET-KEY

Usage

Supply the queue source and destination names as parameters as follows Region will default to us-west-2, you can also override it with -region flag

sqsmover -source=my_source_queue_name -dest=my_destination_queuename
sqsmover -source=my_source_queue_name -dest=my_destination_queuename -region=eu-west-1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL