Skip to content

CLI script to dump messages from an AWS SQS queue.

License

Notifications You must be signed in to change notification settings

mattrx/sqs-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SQS Dumper

CLI script to dump messages from an AWS SQS queue into a directory with one file for each message.

Installation

go install github.com/mattrx/sqs-dumper@latest

Usage

Usage:
  sqs-dumper [flags]

Flags:
  -h, --help                       help for sqs-dumper
      --loop-count int32           number of loops for receive (default 1000)
  -o, --output string              output directory (default "./messages")
  -p, --profile string             aws profile
  -q, --queue string               queue url
      --visibility-timeout int32   visibility timeout in seconds (default 60)

You have to provide an AWS profile configured in ~/.aws/accounts and the queue url in the form of https://sqs.eu-central-1.amazonaws.com/{accountID}/{queueName}.

About

CLI script to dump messages from an AWS SQS queue.

Topics

Resources

License

Stars

Watchers

Forks

Languages