Skip to content

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

License

Notifications You must be signed in to change notification settings

nylund/spring-aws-localstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published