CertificationTestPrep Free diagnostic

AWS · explainer · checked November 3, 2026

SQS vs SNS vs EventBridge vs Kinesis and Kafka: which messaging service to use

Use Amazon SQS when one set of workers should pull each message from a queue and process it once. Use Amazon SNS to push one message to many subscribers. Use Amazon EventBridge to route events from AWS services, your applications and SaaS partners to targets. Use Kinesis Data Streams or Kafka when readers need ordered records they can read again.

Side by side

Amazon SQSAmazon SNSAmazon EventBridgeKinesis Data Streams / Apache Kafka
ShapeQueueTopicEvent busStream (log)
How consumers get dataThey pull (poll) messagesSNS pushes to each subscriberEventBridge pushes events to the targets of matching rulesReaders pull records from shards or partitions
Who gets a messageTypically one consumer; each message is processed, then deletedEvery subscriber, or only those whose filter policy matchesEvent buses with rules (Custom Event Bus - Classic): every target of every matching rule. Custom Event Bus: each subscriber whose filters match, delivering to one targetAny number of independent readers
Kept after it is readNo, you delete it after processingNo; pair a topic with SQS queues so messages persistThe newer Custom Event Bus keeps every event for 1 to 365 days and a subscriber can start from a past point. Check which bus type you useYes, until the retention period ends
OrderStandard: best effort. FIFO: strict orderFIFO topics keep order for SQS FIFO queuesThe Custom Event Bus has FIFO subscribers that deliver in order within an event group; its other subscribers are unorderedIn order within a shard (Kinesis) or partition (Kafka)
DeliveryStandard: at least once. FIFO: exactly-once processingOccasional duplicates are possibleRetries a failed delivery to a target, by default for 24 hours and up to 185 times; then drops the event unless the target has a dead-letter queue (a standard SQS queue)Records can be read again while they are retained

Four shapes, not four brands

These services answer one question: after a producer sends something, who receives it, and how?

  • **Queue (Amazon Simple Queue Service, SQS).** Producers send messages and consumers pull them. While a consumer processes a message it stays in the queue but is not returned to other receive requests during the visibility timeout, and the consumer deletes it when done. SQS describes this as typically a single subscriber, so one worker fleet shares the work. Messages are removed automatically after the retention period, 4 days by default and configurable from 60 seconds up to 14 days.
  • **Topic (Amazon Simple Notification Service, SNS).** Publishers send to a topic, and SNS pushes a copy to every subscriber: SQS queues, Lambda functions, HTTP(S) endpoints, email, mobile push, SMS and Amazon Data Firehose among them. Nobody has to poll.
  • **Event bus (Amazon EventBridge).** Events from AWS services, your own applications and SaaS partners arrive on a bus. EventBridge now has two bus types, and the names matter. A Custom Event Bus - Classic bus, like the default bus in every account, uses rules and targets: the bus owner writes rules that choose which events go to which targets, so one bus routes many sources to many targets, with optional transformation on the way. The newer Custom Event Bus uses subscribers: each consumer creates a subscriber with filters and one target, and the bus keeps every event for a retention period you set. AWS says to start with the Custom Event Bus for new applications. Classic buses remain available.
  • **Stream (Amazon Kinesis Data Streams, or Apache Kafka).** Records are appended to an ordered log and kept for a retention period. Reading does not remove them, so several applications can read the same data, and one can read it again.

SQS vs SNS

The usual confusion is that both move messages between components. The difference is who asks. With SQS the consumer asks for work when it is ready, so a slow consumer simply falls behind while messages wait. With SNS the service pushes the message out immediately. If delivery fails, SNS retries under a retry policy and then discards the message unless a dead-letter queue is attached to the subscription. SNS does not hold messages for a consumer to pick up later, as a queue does.

That gap is why the two are often combined. In the fan-out pattern you subscribe several SQS queues to one SNS topic. One publish produces a message in every queue, and each application drains its own queue at its own pace. AWS describes the result as messages that reach applications needing instant notification and also persist in a queue for other applications to process later. Add an SNS filter policy to a subscription and that queue receives only the messages it needs.

FIFO, duplicates and dead-letter queues

Standard SQS queues deliver each message at least once, and a message can arrive more than once or out of order. Your consumer must cope with duplicates. FIFO queues keep strict order and provide exactly-once processing, Their throughput is limited, and a high throughput mode exists. SNS FIFO topics deliver ordered messages to SQS FIFO queues for end-to-end ordering. SNS itself says occasional duplicate messages can reach a subscriber, so design for repeats.

A dead-letter queue (DLQ) holds messages that could not be processed or delivered. For SQS you set a redrive policy with maxReceiveCount, the number of times a consumer may receive a message before it moves to the DLQ. A DLQ in another account or Region is not allowed. AWS advises against a DLQ on a FIFO queue if you must not break the order of operations.

What EventBridge does when delivery fails

On a Classic bus, an event that cannot be delivered to a target because of a retriable error, such as an unavailable target or a network problem, is retried. You set the length of time and the number of attempts in the target’s retry policy. By default EventBridge retries for 24 hours and up to 185 times, with exponential back-off and jitter. If every attempt fails, EventBridge drops the event. To keep it, configure a dead-letter queue on the target. EventBridge dead-letter queues are standard SQS queues, and FIFO queues are not supported. Some errors, such as missing permissions or a target that no longer exists, go straight to the dead-letter queue with no retries.

On the Custom Event Bus, a subscriber has its own retry policy, by default 5 attempts within 300 seconds, and an optional SQS queue that receives a record of each event that exhausted its retries. The bus can also drop duplicate publishes made within a 5-minute window, when you supply a deduplication key or ask for content-based deduplication.

EventBridge vs SNS

Both are push-based and can send one message to many places. SNS is a topic you publish to, and every subscriber gets each message unless its filter policy narrows that. EventBridge takes events from AWS services, your applications and SaaS partners. On a Classic bus, rules decide which events reach which targets. On the Custom Event Bus, each subscriber filters the events it wants, and the bus keeps events so a subscriber can replay past ones. EventBridge Pipes connects one source to one target with optional enrichment, and EventBridge Scheduler runs one-time or recurring tasks. Choose SNS to broadcast your own messages, and EventBridge to react to events by rule or filter.

Queue vs stream, and Kafka

A queue is for work: once a message is processed and deleted, it is gone. A stream is for data that several readers need, in order, possibly more than once. Kinesis Data Streams orders records within a shard and lets multiple applications read and replay them; its retention is 24 hours by default, up to 7 days, and up to 365 days with long-term retention. SQS processes messages independently, with acknowledge-or-fail handling for each one.

Apache Kafka is the open-source equivalent. A topic is split into partitions, events with the same key land in the same partition, and a consumer of a partition reads it in the order it was written. Events are not deleted when consumed; you set how long Kafka keeps them. Amazon Managed Streaming for Apache Kafka (Amazon MSK) runs open-source Kafka for you, so existing Kafka applications and tools work without code changes.

Pick Kafka or MSK when you already use Kafka or need its ecosystem. Pick Kinesis Data Streams when you want an AWS-managed stream. Do not pick either for a plain job queue, where SQS is simpler.

On the exams

How certification exams use this

The exam guides for the AWS associate and professional certifications ask the candidate to choose between these services for decoupling, event-driven designs and data ingestion. Watch the verbs in a scenario. “Process each message once with workers” points to a queue. “Notify several systems” points to a topic or the SNS to SQS pattern. “React to an event from an AWS service or SaaS partner” points to EventBridge. “Replay” or “several consumers read the same ordered records” points to a stream. The usual wrong answer is a queue when readers must re-read the data.

Test yourself

See how well you know it, free.

Each exam’s diagnostic is free, with no sign-in: questions across the whole exam, and a map of what you know and what you don’t.