Create Amazon SQS backup automatically in another queue

只愿长相守 提交于 2020-03-05 04:12:08

问题


I'm wondering is there is a way to create 2 Amazon SQS queues: 1 for the main activity and the other for backup?

Is there a way to make the first queue send every received message to another SQS queue automatically?


回答1:


You cannot "backup" an Amazon SQS queue.

However, if you configure the source system to send the message to an Amazon SNS topic, then multiple Amazon SQS queues can subscribe to the Amazon SNS topic.

When doing this, I recommend you use raw message delivery to ensure that the message content remains the same after passing through Amazon SNS.

See:

  • How to Send Fanout Event Notifications – Amazon Web Services (AWS)
  • Common Amazon SNS Scenarios - Amazon Simple Notification Service


来源:https://stackoverflow.com/questions/57756954/create-amazon-sqs-backup-automatically-in-another-queue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!