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년 전5022회 조회
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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠