Skip to content

adampoplawski/quarkus-sqs

Repository files navigation

  1. Start LocalStack:
docker run \
 --rm \
 --name local-sqs \
 -p 4566:4566 \
 localstack/localstack
  1. Create an AWS profile for your local instance using AWS CLI:
aws configure --profile localstack
AWS Access Key ID [None]: test-key
AWS Secret Access Key [None]: test-secret
Default region name [None]: us-east-1
Default output format [None]: json
  1. Create an SQS locally
aws sqs create-queue --queue-name=greetings --profile localstack --endpoint-url=http://localhost:4566
  1. Add events to SQS
for i in {1..25} 
do
   aws sqs send-message --queue-url http://localhost:4566/000000000000/greetings --message-body "Greet $i" --profile localstack --endpoint-url=http://localhost:4566         
done

This will add 25 test messages to the quote-requests queue.

./gradlew quarkusDev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages