Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

SQS vs Kafka: Message Queue or Event Streaming Platform?

Choose Amazon SQS if you want a fully managed queue that passes work between parts of your app, with nothing to run and a message that's gone once a consumer deletes it. Choose Apache Kafka if you need an event streaming platform that stores events for as long as you set and lets many consumers read and replay them. The deciding question is whether you're handing off tasks or keeping a stream of events.

I read the Amazon SQS product page and FAQs, then Apache Kafka's home, introduction and uses pages. They're often compared because both move messages, but they're built on different ideas about what happens to a message after it's read.

SQS and Kafka compared

Amazon SQSApache Kafka
TypeFully managed message queue on AWSOpen source distributed event streaming platform
How consumers readPolling; a message stays until a consumer processes and deletes itSubscribe to topics; events stay after they're read
Keeping dataMessages leave the queue once processedPer-topic retention, for as long as you want
OrderingStandard queues best effort; FIFO queues keep exact orderGuaranteed ordering, on Kafka's home page
DeliveryStandard at-least-once; FIFO exactly-once processingExactly-once processing
Running itNo software or servers to manageYou run brokers, or use a managed service
Free option (as of October 2026)Free Tier of 1 million requests a monthYes, open source

What SQS does well

AWS describes SQS as message queuing for microservices, distributed systems and serverless apps. You send, store and receive messages between components at any volume without losing them, and without needing the other services to be up. Its example is a banking app where the customer gets an instant response while bill payments are processed in the background.

It comes in two shapes. Standard queues are built to scale massively, so they give at-least-once delivery and only loose ordering. FIFO queues keep the exact order and give exactly-once processing, where a message stays available until a consumer processes it and deletes it. SQS also gives you dead-letter queues for messages that keep failing, and AWS says key business processes at Amazon.com and AWS run on it.

Where Kafka is the stronger fit

Kafka's own introduction lists three jobs: publish and subscribe to streams of events, store them durably for as long as you want, and process them as they happen or later. The detail that changes everything is that events aren't deleted after they're read. You set retention per topic, and any number of consumers can read the same events as often as they need.

That's why Kafka shows up in payments, fleet tracking, sensor data and data platforms. The project says clusters scale to a thousand brokers and trillions of messages a day, with latencies as low as 2ms, and Kafka Connect plugs into hundreds of sources and sinks such as Postgres, Elasticsearch and AWS S3. It also ships Kafka Streams, a library for joins, aggregations and filters on live data.

Other brokers are listed in our message queue roundup.

The difference people miss

A queue and a log solve different problems. With SQS, once a worker finishes a task and deletes the message, it's done, which is exactly what you want for jobs like sending an email or resizing an image. With Kafka, the history stays, so a new service can start reading from the beginning, or you can replay a day of events after fixing a bug. If you'd ever want to read the same message twice, that's a strong sign you're looking at Kafka.

AWS's pub/sub service is compared with SQS in our SQS vs SNS comparison.

How to decide

  1. Are you spreading background jobs across workers? SQS was built for that.
  2. Do several systems need the same events, now and later? Kafka's retention and replay cover it.
  3. Do you want zero servers to run? SQS is fully managed on AWS.
  4. Do you need strict order? Use SQS FIFO queues, or design Kafka topics and partitions for it.
  5. Are you building a data platform or real-time analytics? Kafka, with Kafka Streams or Connect, is the natural base.

If you're weighing the wider toolset your developers use, see these developer productivity tools and some ChatGPT prompts that speed up coding.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

My advice on SQS or Kafka

If you're on AWS and you need to hand tasks from one part of your app to another, SQS is the simpler choice, and you won't have anything to run. If your business wants a record of events that several teams can read, replay and analyse, Kafka is the platform for it, even though it asks more of your team. You can use both, a queue for jobs and a stream for events, so don't force one to do the other's work.

Do you make messaging or streaming tools? Tool makers can ask to be considered for a featured place in comparisons like this one.

Frequently asked questions

Is SQS the same as Kafka?

No. AWS describes SQS as a managed message queue where a message stays until a consumer processes and deletes it. Kafka is an event streaming platform that keeps events after they're read, for as long as you set.

Does SQS keep message order?

FIFO queues keep the exact order and give exactly-once processing. Standard queues only attempt to keep order, because they're built to scale massively.

Can Kafka replay old messages?

Yes. Kafka's introduction says events can be read as often as needed and aren't deleted after consumption; you set how long each topic keeps them.

Is there a free tier for SQS?

Yes. AWS says the SQS Free Tier gives you 1 million requests a month.

Is Kafka free?

Apache Kafka is open source. You'll still need servers to run it, or a managed service.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.

  • YouTube Music をパソコンで使う方法(2026年版)ブラウザとアプリとしてのインストール、曲のアップロード、できないこと

    YouTube Music をパソコンで使う方法(2026年版)ブラウザとアプリとしてのインストール、曲のアップロード、できないこと

    YouTube Music をパソコンで使うには、ブラウザで music.youtube.com を開いてログインするだけです。Chrome なら、その他アイコンの「キャスト、保存、共有」から「YouTube Music をインストール」を選ぶと、アプリのようにワンクリックで起動できるウェブアプリとして使えます(2026年10月時点の YouTube Music ヘルプ)。 スマホのアプリとパソコンでは、できることが少し違います。パソコンでしかできないこともあれば、逆にモバイルアプリ限定の機能もあります。この記事では、2026年10月に確認した YouTube Music の公式ヘルプをもとに、パソコンでの使い方と違いをまとめます。 ウェブアプリとしてインストールする手順 インストールすると、ブラウザのタブを探さなくても、ランチャー アイコンからすぐ…

  • YouTube Music の音質(2026年版)ビットレート早見表、高音質に変える設定、一時保存の音質とデータ量

    YouTube Music の音質(2026年版)ビットレート早見表、高音質に変える設定、一時保存の音質とデータ量

    YouTube Music の音質は、Premium のメンバーなら設定の「データの節約」で選べます。選択肢は低音質(上限 48 kbps)、標準(上限 128 kbps)、高音質(上限 256 kbps)、常に高音質(256 kbps)の4つで、どれも AAC か OPUS です。何も選ばないと、住んでいる地域の「標準」が自動で使われます(2026年10月時点の YouTube Music ヘルプ)。…

  • YouTube Music のダウンロード方法(2026年版)曲とプレイリストの一時保存、SD カード、30日のルールと無料でできること

    YouTube Music のダウンロード方法(2026年版)曲とプレイリストの一時保存、SD カード、30日のルールと無料でできること

    YouTube Music で曲をダウンロードするには、曲やアルバム、プレイリストのメニューから「オフラインに一時保存」を選びます。曲や動画の一時保存には YouTube Music Premium が必要ですが、ポッドキャストはメンバーシップがなくても保存できます。保存したものを残すには、少なくとも30日に1回ネットにつなぐ必要があります(2026年10月時点の YouTube Music ヘルプ)。 YouTube Music では、ダウンロードのことを「一時保存」と呼びます。ファイルとして自由に取り出すのではなく、アプリの中でオフライン再生するための保存です。この記事では、2026年10月に確認した YouTube Music の公式ヘルプをもとに、保存のしかたと、知っておきたいルールをまとめます。 無料と Premium…