Apache Kafka 4.0 was just released! It bumps Kafka to 1.4 million...

@kozlovski
Stanislav Kozlovski@kozlovski
37 views Mar 19, 2025 ~2 min read
Advertisement
1
Apache Kafka 4.0 was just released!

It bumps Kafka to 1.4 million lines of code.

What comes with this new release?

Here are the top 3 features you should know about 🔥
Media image
2
RIP ZooKeeper 💀

After 14 faithful years of service, Kafka completely removes support for ZooKeeper.

With KRaft, controller brokers now reach consensus amidst each other and store all cluster metadata in an internal topic.
Media image
3
Queues ✨

Kafka gets a brand new type of consumer group called Share Consumers.

Share Consumers offer queue-like semantics:
• per-message acknowledgement and retry
• ability to have many consumers collaboratively read the same partition
Media image
4
Better Consumer Groups 🙌

KIP-848 completely overhauls the consumer group protocol by:
• simplifying it
• fortifying it
• eliminating stop-the-world rebalances 🌎

When a new member joins, you don’t need to wait for all N members to rebalance/revoke their partitions anymore!
1:37
5
Other Worthy Mentions:

• All MirrorMaker1 code is removed
• The Transaction Protocol is strengthened
• KRaft is strengthened
• Java 8 support is completely removed
• Log4j updated to v2
• Log message format versions v0 and v1 are deleted (you’re a 👴🏼 if you know these)
Media image
6
Things have changed a lot since 2021, with major features going GA:

• Tiered Storage (KIP-405)
• KRaft (KIP-500)
• The new consumer group protocol (KIP-848)
Media image
7
A big thank you to all 175 people who contributed to @apachekafka 4.0!

And, of course, a big thank you to @davidjacot for running this historical release!

What we see here is a healthy open source project that shows continued network effect growth.
Media image
8
As of today, a new chapter begins - Kafka 4.x ⭐️

There are a lot of new exciting proposals coming in.
Activity remains greater than ever.

Who knows what we'll get by the time 5.0 comes!
👇
Media image
9
If you'd like more detail, I captured it all here:

blog.2minutestreaming.com/p/apache-kafka…
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement