SNS订阅未显示在SNS主题详细信息页面中
假设我有一个sns创建了一个主题名称topic-1
和queue my-lambda-quesue
使用CDK(python)订阅topic> topic-1 < /代码>。一段时间后,消息停止传递到
my-lambda-queue
。如果删除订阅并尝试再次添加它们,则消息开始传递。
在调查后,我发现,SNS主题topic-1
详细信息页面上的详细信息页面并未显示my-lambda-quesue
,但在<
这很奇怪,有人可以指导我在哪里做错吗?
Let's say I have a SNS created a topic name topic-1
and a queue my-lambda-queue
using CDK (python) which subscribe to topic-1
. After some time the messages stop getting delivered to my-lambda-queue
. If the remove the subscriptions and try adding them again then messages start to deliver.
Upon investigation I found that, the SNS topic topic-1
details page on AWS console does not show the subscription for my-lambda-queue
but on the SQS details page of my-lambda-queue
the subscription is shown.
This is strange, can someone please guide me where I'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了完全相同的问题,就我而言,这是由于SNS的未经证实的订阅,然后从SQS创建订阅请求导致订阅使订阅未出现在控制台中,即使这是“成功的订阅”
https://stackoverflow.com/a/50374308/3546389
这有助于修复它。
I had the exact same issue, in my case it was due to an unconfirmed Subscription from SNS, and then creating a Subscription request from the SQS caused the subscription to not show up in the console even though it was a 'Successful subscription'
https://stackoverflow.com/a/50374308/3546389
This helped fix it.