Skip to content

Minimal cli for managing messages on aws sqs

Notifications You must be signed in to change notification settings

GaruGaru/conduit

Repository files navigation

Conduit

Go Report Card Docker Card Docker goreleaser

Minimal cli for transferring messages on sqs

Usage

Transfer messages from queues

conduit transfer --source=<source_sqs_url> --destination=<destination_sqs_url> --concurrency=10

Clone messages from queues

conduit transfer --source=<source_sqs_url> --destination=<destination_sqs_url> --delete=false 

Publish messages to queues

conduit publish --destination=<destination_sqs_url> "message body" 

Publish messages to queues using pipes

cat file.txt | xargs conduit publish --destination=<destination_sqs_url> 

Run with docker

docker run -it \
 -e AWS_REGION=<region> \
 -e AWS_ACCESS_KEY_ID=<access-key> \
 -e AWS_SECRET_ACCESS_KEY=<secret> \
 garugaru/conduit <command>

Install from source

go get -u github.com/garugaru/conduit