跳到主要内容
On this page

ReferencesThe Event Log

Apache Kafka

A distributed, append-only log that every service can read from.

Apache Kafka at a glance

Role
The Event Log
Domain
Data & Streaming
Status
v4.4.0
What it does
  • Partitions — the unit of both parallelism and ordering.
  • Consumer groups, so a set of consumers shares the work of a topic.
  • Replication across brokers, tracked by the in-sync replica set.
  • KRaft consensus — since 4.0 there is no ZooKeeper, and the metadata quorum is part of Kafka itself.
  • Exactly-once transactions, with read-process-write semantics.

What it is

A queue moves a message from a producer to a consumer. A log keeps the message, in order, for as long as you like, and lets every consumer decide for itself where to read. That difference is the whole design, and it is what lets you replay history, add a new consumer without touching the old one, and decouple the pace of production from the pace of consumption.

How it works

A topic is split into partitions, and a partition is an ordered sequence. Each consumer group owns every partition of a topic, so adding consumers to a group divides the work, while adding a new group multiplies it. Ordering is guaranteed within a partition and only within a partition.

  • Kafka 4.4.0 was released on October 22, 2026.
  • Kafka 4.0, in March 2025, removed ZooKeeper mode entirely and made KRaft the default — the metadata quorum lives in the cluster rather than in a separate ensemble.
  • KIP-848's new consumer group protocol reached general availability in 4.0, moving rebalance complexity into the broker's group coordinator.
  • Clients and Kafka Streams require Java 11; brokers, Connect and the tools require Java 17.

Under the hood

PieceWhat it is
Current release4.4.0 — released October 22, 2026
MetadataKRaft — a Raft-based quorum built into Kafka since 4.0
Unit of workA partition of a topic; ordered within a partition
ReplicationLeader plus followers, tracked by the in-sync replica set
Exactly-onceTransactional producers and consumers, for read-process-write
Java11 for clients and Streams, 17 for brokers, Connect and tools

Where to read more