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 ?

demandé il y a 5 ans5240 vues
1 réponse
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.

répondu il y a 4 ans
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions