Monedula

Markdown

Part III · Architecture

On this page

Kafka guide · how it works

Diskless Kafka, explained

A diskless Kafka topic is written straight to object storage instead of to replicated broker disks. That removes replication traffic between zones, which in the cloud can cost more than the brokers, and it costs produce latency. Apache Kafka is designing it in KIP-1150, KIP-1163 and KIP-1164, and the Kafka Simulator runs that design in its diskless scenarios. Aiven runs its own version today in Inkless, an open source fork that keeps the batch coordinator in PostgreSQL. KafScale, an open source broker written in Go that speaks the Kafka protocol, runs the same idea with one broker per partition holding an etcd lease. AutoMQ, an open source fork of Kafka, keeps one leader per partition and puts each broker’s write-ahead log in S3, with the KRaft controller off the ack path. WarpStream, a closed source, Kafka-compatible system from Confluent, runs stateless Agents in your account that write files to your bucket and commit them to a control plane it hosts. Redpanda, a Kafka-compatible broker that is not a fork of Kafka, keeps a Raft group per partition in Cloud Topics and replicates small placeholders through it, while the data goes to object storage in objects that mix partitions. StreamNative’s Ursa for Kafka, a fork of Kafka 4.2+, keeps diskless and disk topics in one cluster: on a diskless topic the brokers upload WAL objects that mix partitions, and Oxia assigns the offsets at commit. Nisshi (formerly Tansu), an open source broker written in Rust and now owned by Solace, keeps no data on its brokers: every broker serves every partition, and the storage engine, PostgreSQL or S3, orders the writes itself. The simulator runs all seven.

The pages here answer the same questions in order: the write path up to the ack, where the latency comes from, who assigns offsets, how reads work, what happens when something fails, which cross-zone traffic goes and which stays, and which Kafka features it supports. Every fact links to its source, and each step is a frame of a simulator scenario you can open. More vendor implementations follow once the simulator models them.

The proposals themselves: Kafka KIPs explained

How it works

Every implementation answers the same questions. Each answer opens that section of its page, with its sources.
Implementation Who orders the batches The ack waits for Consumer groups Broker state Idempotence, transactions
Aiven: Inkless 0.51, a fork of Kafka 4.1 to 4.3 Checked PostgreSQL Upload, then the PostgreSQL commit about 670 ms p99 Classic and KIP-848; offsets in a classic, replicated topic No diskless data on disk; partitions rehash to live brokers Idempotence: yes in Aiven: InklessTransactions: no in Aiven: Inkless
Apache Kafka: Diskless topics Reference design, KIP draft, in no release Checked The diskless coordinator, a Kafka broker Upload, then the commit persisted about 360 ms p50, 700 ms p99 As on classic topics; where offsets live is not stated Local segments are a cache; no unclean leader elections Idempotence: planned in Apache Kafka: Diskless topicsTransactions: planned in Apache Kafka: Diskless topics
AutoMQ 1.7.4, a fork of Kafka 3.9.1 Checked The partition leader; KRaft is off the ack path Its broker’s WAL object in S3, for acks=all no latency percentile in the sources Classic groups; offsets in a topic stored in S3 Data in S3; a peer replays a dead broker’s WAL Idempotence: yes in AutoMQTransactions: yes in AutoMQ
Confluent: WarpStream Agent v857, closed source; supported by Confluent Checked The control plane, in WarpStream’s cloud The file written, then the control plane commit about 250 ms p50, 500 ms p99 Classic and KIP-848 APIs; offsets in the control plane Stateless Agents; any Agent serves any partition Idempotence: yes in Confluent: WarpStreamTransactions: yes in Confluent: WarpStream
KafScale 2.1.0, its own broker in Go Checked The partition’s owner, holding an etcd lease The S3 upload, then the etcd write stated target about 500 ms Classic groups; offsets and group state in etcd No data; any broker can take a partition by its etcd lease Idempotence: yes in KafScaleTransactions: no in KafScale
Redpanda: Cloud Topics v26.2.7, Enterprise; source public to v26.2.2, archived Checked The partition’s Raft log (placeholders) Upload, then a Raft majority, for every acks no latency percentile in the sources Classic groups; offsets in __consumer_offsets Raft logs of placeholders on disk; failover by election Idempotence: yes in Redpanda: Cloud TopicsTransactions: yes in Redpanda: Cloud Topics
Solace: Nisshi 0.8.2, Rust; S3 engine experimental Checked The storage engine: watermark.json or a row lock The stored batch (S3) or the commit (PostgreSQL) no latency percentile in the sources Classic groups, state in the storage engine No data on brokers; any broker serves any request Idempotence: yes in Solace: NisshiTransactions: no in Solace: Nisshi
StreamNative: Ursa for Kafka Kafka 4.2+ fork; GA per product page, preview per docs Checked The offset index in Oxia, at commit Upload, then the Oxia commit no latency percentile in the sources Classic groups (__consumer_offsets on local disk) No durable diskless data; silent brokers remap after 5 s Idempotence: yes in StreamNative: Ursa for KafkaTransactions: no in StreamNative: Ursa for Kafka