在另一个队列中自动创建Amazon SQS备份 [英] Create Amazon SQS backup automatically in another queue

查看:61
本文介绍了在另一个队列中自动创建Amazon SQS备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以创建2个Amazon SQS队列:1个用于主要活动,另一个用于备份?

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

是否有办法使第一个队列将接收到的所有消息自动发送到另一个SQS队列?

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

推荐答案

您无法备份" Amazon SQS队列.

You cannot "backup" an Amazon SQS queue.

但是,如果您将源系统配置为将消息发送到Amazon SNS主题,则多个Amazon SQS队列可以预订Amazon SNS主题.

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.

请参阅:

这篇关于在另一个队列中自动创建Amazon SQS备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆