[英]How to subscribe an SQS FIFO queue to a standard SNS topic?
Several different questions have been asked on how to subscribe an SQS FIFO queue to an SNS topic and their answers were " it's impossible " or, more recently, " it's now possible using an SNS FIFO topic ".关于如何将 SQS FIFO 队列订阅到 SNS 主题,已经提出了几个不同的问题,他们的回答是“这是不可能的”,或者最近,“现在可以使用 SNS FIFO 主题”。
This question is a bit more specific in its premises:这个问题在它的前提下更具体一点:
As of time of writing, AWS does not support a direct subscription.截至撰写本文时,AWS 不支持直接订阅。
How to achieve it in the next best way possible?如何以可能的下一个最佳方式实现它? Using an AWS Lambda?使用 AWS Lambda? EventBridge?事件桥?
As you said, this is currently not possible through direct subscription.正如您所说,目前无法通过直接订阅来实现。 A work around to achieve that is to subscribe a lambda to the standard topic and have that lambda sending to the FIFO Queue.解决方法是为标准主题订阅 lambda 并将 lambda 发送到 FIFO 队列。 It's not ideal since it adds an extra hop, but it does unblock your use-case这并不理想,因为它增加了一个额外的跃点,但它确实解除了您的用例的阻塞
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.