https://github.com/deep1144/serverless-localstack-sqs
A repo showing how to use sqs offline (as producer and consumer) with serverless and localstack
https://github.com/deep1144/serverless-localstack-sqs
docker-compose localstack serverless serverless-offline sqs-consumer sqs-producer
Last synced: about 1 year ago
JSON representation
A repo showing how to use sqs offline (as producer and consumer) with serverless and localstack
- Host: GitHub
- URL: https://github.com/deep1144/serverless-localstack-sqs
- Owner: Deep1144
- Created: 2022-04-13T02:45:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-13T02:52:31.000Z (about 4 years ago)
- Last Synced: 2025-01-22T11:28:26.214Z (about 1 year ago)
- Topics: docker-compose, localstack, serverless, serverless-offline, sqs-consumer, sqs-producer
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
1. `docker-compose up` to get localstack up and running
2. `npm run create:queue` creates a offline sqs queue
3. `npm run list:queue` check if queue has been created
4. `npm run offline` to start serverless
Now, make get request to this endpoint
```
http://0.0.0.0:3000/dev/app-store-server-notifications
```
and boom, now you see the log from local consumer lambda
# serverless-localstack-lambda
Serverless LocalStack Lambda
# More Details Visit
https://sqsOfflineQueue-io.medium.com/serverless-localstack-lambda-53fd8d46983