Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon SNS: an offline mock

Is there an AMAZON-SNS mock? That is, some non-hosted version that I can use for testing or for offline cases? Preferably with the same API.

Like elasticMQ is for SQS?

Thank you

like image 707
user967710 Avatar asked Feb 04 '16 09:02

user967710


2 Answers

LocalStack - A fully functional local AWS cloud stack

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications.

Currently, the focus is primarily on supporting the AWS cloud stack.

LocalStack spins up the following core Cloud APIs on your local machine:

API Gateway at http://localhost:4567
Kinesis at http://localhost:4568
DynamoDB at http://localhost:4569
DynamoDB Streams at http://localhost:4570
Elasticsearch at http://localhost:4571
S3 at http://localhost:4572
Firehose at http://localhost:4573
Lambda at http://localhost:4574
SNS at http://localhost:4575
SQS at http://localhost:4576
Redshift at http://localhost:4577
like image 65
Alex Bitek Avatar answered Sep 23 '22 12:09

Alex Bitek


If you really need a service you can try https://github.com/s12v/sns

Another option would be mocking. SNS is a HTTP service, so you can mock responses in your application.

like image 33
Sergey Avatar answered Sep 23 '22 12:09

Sergey