Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.42 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.42 KB

sqsdumper

Dump AWS SQS messages to the output

Usage

<AWS_PROFILE=specific_profile> sqsdumper -s your-queue-dead-letter-queue 

with jq

<AWS_PROFILE=specific_profile> sqsdumper -s your-queue-dead-letter-queue | jq .foo

get in json_path (if no jq installed)

<AWS_PROFILE=specific_profile> sqsdumper -s your-queue-dead-letter-queue -jp foo

Help:

 ./sqsdumper -h                                                                                                 
NAME:
   sqsdumper - sqsdumper -s src_queue

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --deleteMessage               delete received messages (default: false)
   --help, -h                    show help (default: false)
   --jsonPath value, --jp value  json path, like x.y, see https://github.com/sinhashubham95/jsonic for more (default: .)
   --raw                         dump entire raw messages (default: false)
   --stopAfter value             stop after N messages processed (default: 0)
   --queueName value, -s value   the source queue
   --stopOnTotal                 stop when all messages processed (default: true)
   --version, -v                 print the version (default: false)

Build

make all

See also