The Wayback Machine - https://web.archive.org/web/20200917045002/https://github.com/nylund/spring-aws-localstack
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Simple example showing how to combine Spring Boot 2.0, Spring Cloud AWS and Localstack for local development using Amazon SQS & SNS APIs.

Startup localstack:

git clone https://github.com/localstack/localstack
TMPDIR=/private$TMPDIR docker-compose up

Setup topics, queues and subscriptions:

aws --endpoint-url=http://localhost:4576 sqs create-queue --queue-name test-queue
aws --endpoint-url=http://localhost:4576 sqs create-queue --queue-name test-queue-sns
aws --endpoint-url=http://localhost:4575 sns create-topic --name test-topic
aws --endpoint-url=http://localhost:4575 sns subscribe --topic-arn arn:aws:sns:eu-west-1:123456789012:test-topic --protocol sqs --notification-endpoint arn:aws:sqs:eu-west-1:queue:test-queue-sns

References:

About

Example showing how to combine Spring Boot 2.0.0, Spring Cloud AWS and Localstack.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.