是否可以集成AWS SNS和AWS SQS FIFO队列 [英] Is it possible to integrate AWS SNS and AWS SQS FIFO queue
本文介绍了是否可以集成AWS SNS和AWS SQS FIFO队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通过在SQS中引入FIFO队列我们保证SQS消息将按顺序传递.
With the introduction of FIFO queues in SQS we are guaranteed that SQS messages will be delivered in order.
现在,当我通过SNS发布消息时,是否会出现乱序传递?这就是我在想的可能发生的事情:
Now, could there be an out-of-order delivery when I publish messages through SNS? Here's what I'm thinking that could happen:
_____ _____ __________
| App |-- Publish msg 1 --> | SNS | --> Queue msg 2 --> | FIFO SQS | --> Consume 2
| |-- Publish msg 2 --> | | --> Queue msg 1 --> | | --> Consume 1
----- ----- ----------
这种情况可能吗?
推荐答案
SNS FIFO刚刚启动.SNS现在可以与SQS FIFO集成 https://aws.amazon.com/blogs/aws/introducing-amazon-sns-fifo-first-in-first-out-pub-sub-messaging/
SNS FIFO just launched. SNS can now integrate with SQS FIFO https://aws.amazon.com/blogs/aws/introducing-amazon-sns-fifo-first-in-first-out-pub-sub-messaging/
这篇关于是否可以集成AWS SNS和AWS SQS FIFO队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文