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

Kafka vs RabbitMQ: Event Streaming vs Message Broker

Choose Apache Kafka when you need an event streaming platform that stores streams of events durably and lets many consumers read and replay them, for data pipelines and event-driven systems at scale. Choose RabbitMQ when you need a flexible message broker that routes messages between services, speaks open protocols such as AMQP 1.0 and MQTT 5.0 and, by its own account, is easy to deploy in the cloud, on premises or on your own machine. The line has blurred, though: RabbitMQ now has Streams, an append-only log you can read repeatedly, much like Kafka's model.

This choice shapes how your services talk to each other for years, so it's worth getting right. I read the Apache Kafka introduction and use cases pages and RabbitMQ's home page and its docs on streams, queues and protocols.

Kafka and RabbitMQ compared

Apache KafkaRabbitMQ
Type of toolEvent streaming platformMessaging and streaming broker
Core modelTopics of events kept for a set timeQueues, plus Streams for append-only logs
After a message is readNot deleted; consumers can read againQueues hand messages on; Streams keep them until expiry
ProtocolsKafka's own TCP protocolAMQP 1.0, MQTT 5.0 and others
Data integrationKafka Connect and Kafka StreamsRouting, filtering, federation
Commercial backingManaged services from various vendorsBroadcom's enterprise offering with 24/7 support
LicenceOpen source Apache projectFree and open source

RabbitMQ now does logs too

The classic advice says Kafka keeps messages and RabbitMQ deletes them once they're consumed. RabbitMQ's own docs complicate that. RabbitMQ Streams is a persistent, replicated data structure that models an append-only log of messages that can be read repeatedly until they expire, which the docs call non-destructive consumer semantics. It also supports super streams, which are partitioned streams.

Kafka's introduction makes the same point about its own design: events in a topic can be read as often as needed and aren't deleted after consumption; you set how long Kafka keeps them with a per-topic setting. So both can replay data now. The real difference is that Kafka is built around streams from the ground up, while RabbitMQ adds streams to a broker built around routing messages.

Where Kafka fits

Kafka describes three capabilities in one platform: publishing and subscribing to streams of events, storing them durably for as long as you want, and processing them as they happen or afterwards. It runs as a cluster of servers that can span data centres or cloud regions, with brokers forming the storage layer and Kafka Connect moving data in and out of systems such as relational databases. You can run it yourself or use a fully managed service from one of several vendors.

A lighter messaging system is compared in our NATS vs Kafka comparison.

Where RabbitMQ fits

RabbitMQ calls itself a powerful, enterprise grade open source messaging and streaming broker used by millions worldwide. Its strength is flexibility: you can combine routing, filtering, streaming and federation to decide how messages travel from publishers to consumers, acknowledge deliveries and replicate messages across a cluster. Version 4.4.0 is the current release on its site, and Broadcom offers a commercial edition with round-the-clock support.

Managed streaming on AWS is covered in our Kafka vs Kinesis guide.

Choose with these questions

  1. Do many teams need to read the same events, now and later? Kafka's topics suit that.
  2. Do you mostly pass jobs or commands between services? RabbitMQ's queues and routing fit.
  3. Do you have devices speaking MQTT? RabbitMQ supports MQTT 5.0.
  4. Are you building data pipelines into databases and warehouses? Kafka Connect is made for it.
  5. Is your team small with no streaming specialist? RabbitMQ says it's easy to deploy, even on a laptop.

If you're designing the services around it, my explainer on monoliths versus microservices sets the scene, and this guide to monitoring data in your business covers what to watch once messages flow.

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 Kafka or RabbitMQ

For a small or growing business connecting a handful of services, I'd start with RabbitMQ: it's flexible, speaks standard protocols and now offers streams if you need replay later. Move to Kafka when event data becomes a product in itself, with several teams or systems reading the same streams and pipelines feeding analytics. If you go with Kafka and don't have a specialist, a managed service will save a lot of late nights.

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

Frequently asked questions

Is Kafka a message queue?

Kafka describes itself as an event streaming platform. Events in a topic aren't deleted after being read, and retention is set per topic.

Does RabbitMQ support streaming?

Yes. RabbitMQ Streams is a persistent, replicated append-only log that consumers can read repeatedly until messages expire.

Which protocols does RabbitMQ support?

RabbitMQ supports several open standard protocols, including AMQP 1.0 and MQTT 5.0.

Are Kafka and RabbitMQ free?

Yes. Both are open source. Broadcom sells a commercial RabbitMQ offering, and various vendors offer managed Kafka services.

Can Kafka run in the cloud?

Yes. Kafka's docs say it runs on bare metal, virtual machines and containers, on premises or in the cloud, self-managed or as 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…