Skip to content

andboson/sqsdumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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