0

Can we have a poller for SNS Topic which would get all the messages from SNS Topic in regular intervals, like we can have for SQS?

2

Amazon SNS is a Publish/Subscribe system. When a message is sent to a topic, it is immediately sent out to all relevant subscribers. Messages are not retained in Amazon SNS.

If you wish to retain messages for later polling, you can use Amazon SQS.

However, Amazon SQS can subscribe to an Amazon SNS topic. This would allow you to store messages for later polling. The flow would be:

Message -> SNS Topic -> SQS Queue subscription -> Available for polling by worker

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.