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 年前檢視次數 5020 次
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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南