Skip to content

lucasmarqs/sqs-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQS Playground

Playing around with AWS SQS and Go.

How to play

Get it running by executing docker-compose and applying the terraform:

# start localstack container with SQS
docker-compose up -d

# wait a sec until localstack is ready then create the queues
terraform apply -auto-approve

The consumer command listen to the queue "playground" created by terraform. You can build it with make.

# make and running the consumer
make && builds/consumer

Producing messages with awscli is easy:

aws --endpoint http://localhost:4576 sqs send-message --queue-url 'http://localhost:4576/queue/playground' --message-body 'hello world'

License

This project is licensed under GLWTPL

About

Playing around with AWS SQS and Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published