Amazon SNS:一个离线模拟

Amazon SNS: an offline mock

是否有 AMAZON-SNS 模拟? 也就是说,我可以使用一些非托管版本进行测试或离线案例?最好用相同的 API.

好像elasticMQ是为SQS设计的?

谢谢

如果您确实需要服务可以尝试https://github.com/s12v/sns

另一种选择是模拟。 SNS 是一种 HTTP 服务,因此您可以在您的应用程序中模拟响应。

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