SQS not receiving SNS message

0

I have an SQS Endpoint configure in my SNS Topic.

The SQS Endpoint is in "Confirmed" status.

The SQS Queue has the correct permissions (Principals Everybody, Actions SQS:SendMessage, ForAnyValue:ArnEquals <mySNSTopicARN>)

I have even tried setting up from scratch, a new SNS and new SQS but that SQS does not receive the SNS messages either even though status is "confirmed" (I used the console Queue Actions -> Subscribe Queue to SNS Topic).

Help ?

已提问 5 年前5008 查看次数
1 回答
1

I had the same problem and found the following long answer in this forum: https://forums.aws.amazon.com/thread.jspa?messageID=508239&#508239

What solved it for me was that you need to subscribe the SQS to the SNS topic from the SQS console

You select the SQS and in the top drop-down "Queue Action" select "Subscribe Queue to SNS topic". For some reason, this makes teh SQS starts to receive notifications, while doing teh subscription from the SNS side does not work.

已回答 4 年前
  • This is still valid today. AWS should look into why this happens. I created a new sns/sqs and it stopped working until I did what you mentioned. thanks

    Using Springboot 3 and AWS sdk 4.0

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则