I am a beginner in using AWS services. I have a requirement recently in which I wanted to send some data from service 1 to service 2 and service 3. So, what I am thinking to do is, I will push notification to SNS from service 1 and service 2 and service 3 would be subscribers to this SNS topic. So, this is the case of multiple subscribers subscribed to the same topic and both subscribers want same data.
I have some doubts regarding the basic functionality of AWS SNS. If someone could help in that, that would be really helpful.
Say, there are 2 notifications A, B pushed to SNS topic, so will both the subscribers get both of the notification?
For the same scenario, when does the 2 notifications gets deleted from SNS topic?
Does SNS store the notifications somewhere? Or it simply passes through the messages to subscribers?
What would happen if one of the subscribers fails and it is not able to get some notifications? Will it get those notifications when it would again connect to SNS topic or it would not get those?
Please provide your answers to some of the above questions. These would really help me in understanding how SNS work internally.
Thanks for help.