Serverless Offline SQS / ElasticMQ Plugin
This adapter works with ElasticMQ API.
docker run -it -p 9324:9324 s12v/elasticmq:latest
Install
npm install serverless-offline-sqs-esmq
Starting a Queue
custom: serverless-offline-sqs-esmq: apiVersion: '2012-11-05' endpoint: http://0.0.0.0:9324 region: sa-east-1 accessKeyId: root secretAccessKey: root
resources: Resources: BooksQueue: Type: AWS::SQS::Queue Properties: QueueName: BooksQueueExample
Using SQS API
const options = apiVersion: '2012-11-05' region: 'localhost' endpoint: "http://0.0.0.0:9324" sslEnabled: false; const sqs = options;
Output Log:
serverless offline start ...Serverless: Creating Queue BooksQueueExample...
Credits: This is a custom fork from Godu Project