Many publishers, independent recipients
How topics collect events from multiple publishers and distribute independent copies to matching subscriptions so consumers can process at their own pace. · associate
In publish-subscribe messaging, a publisher sends an event to a topic rather than contacting every recipient. A subscription connects that topic to a destination. Amazon Simple Notification Service, or Amazon SNS, provides topic-based messaging on AWS.
Fan-in means multiple publishers send events to the same topic. Their events share a destination but remain separate messages; the topic does not combine them into one event.
Fan-out means the topic distributes an independent copy of an event to each matching subscription. One publication can therefore support several applications without the publisher maintaining a list of recipients.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.