Redpanda is a Kafka API-compatible event streaming platform written in C++ that stores and serves ordered, replicated logs of records for producers and consumers in streaming data systems. It accepts the Kafka wire protocol, so existing Kafka clients, connectors and stream processors usually work without code changes, while the broker itself replaces the Java virtual machine and ZooKeeper with a single native binary.
Within the Data field, Redpanda belongs to the same category as Kafka, Apache Pulsar and Amazon Kinesis: a durable log that decouples the systems that produce events from the systems that consume them. Its design goals are predictable tail latency, simpler operations and efficient use of modern hardware such as NVMe drives and many-core CPUs.
How the Redpanda broker is built
Redpanda achieves its performance profile through a thread-per-core architecture built on the open-source Seastar framework. Each CPU core runs one pinned thread that owns a shard of memory, network connections and partitions, so cores communicate by explicit message passing instead of shared locks.
Storage access avoids the operating system page cache. The broker uses direct and asynchronous disk I/O, manages its own cache and writes in aligned blocks, which keeps latency stable when memory pressure or background flushing would otherwise cause stalls. Replication relies on the Raft consensus protocol, with one Raft group per partition, so leader election and log replication need no external coordination service.
The table below summarizes the main internal components and what each one replaces or provides.
| Component | Role | Kafka-equivalent concept |
|---|---|---|
| Seastar runtime | Thread-per-core scheduling and asynchronous I/O | JVM threads and page cache |
| Raft groups | Per-partition replication and leader election | ISR replication plus KRaft or ZooKeeper |
| Controller Raft group | Cluster metadata, topics and configuration | KRaft controller quorum |
| Built-in schema registry | Stores Avro, Protobuf and JSON schemas | Separate schema registry service |
| HTTP proxy | REST access to produce and consume | Separate REST proxy |
| Tiered storage | Offloads older segments to object storage | Kafka tiered storage |
Durability and delivery guarantees in Redpanda
Redpanda acknowledges a write with acks=all only after a majority of replicas have persisted it to disk, because Raft requires an fsync before a follower confirms an entry. Kafka, by contrast, traditionally acknowledges once replicas hold the record in memory and relies on replication across failure domains rather than immediate flushing.
Delivery semantics follow the Kafka model. At-least-once delivery is the default outcome when consumers commit offsets after processing, and idempotent producers remove duplicates caused by retries. Redpanda also implements Kafka transactions, which allow exactly-once semantics for read-process-write pipelines when clients use transactional APIs and consumers read with read_committed isolation.
The following table shows how common producer settings map to durability and latency in practice.
| Producer setting | When the write is acknowledged | Main trade-off |
|---|---|---|
| acks=0 | Immediately after sending | Lowest latency, possible silent loss |
| acks=1 | After the leader receives the record | Loss if the leader fails before replication |
| acks=all | After a Raft majority persists the record | Highest durability, slightly higher latency |
| Idempotent producer | As configured, with sequence numbers | Prevents duplicates from retries |
| Transactional producer | On transaction commit | Atomic multi-partition writes, more coordination |
Redpanda compared with Kafka and other brokers
Redpanda differs from Kafka mainly in implementation and operations, not in the programming model. Topics, partitions, consumer groups, consumer offsets and retention policies behave the same way, which is why teams can often move clients by changing only the bootstrap server address.
Compatibility is broad but not total. Some newer Kafka protocol features and certain broker-side behaviors arrive later or differ in detail, so production migrations should include client compatibility testing. Redpanda also does not run the Kafka Streams library or Kafka Connect workers inside the broker; those remain separate client applications, exactly as they are with Kafka.
| Platform | Implementation | Coordination | Typical strength |
|---|---|---|---|
| Redpanda | C++, single binary | Built-in Raft | Low tail latency, simple deployment |
| Apache Kafka | Java and Scala on the JVM | KRaft, formerly ZooKeeper | Largest ecosystem and tooling |
| Apache Pulsar | Java, brokers plus BookKeeper | ZooKeeper or Oxia | Compute and storage separation, multi-tenancy |
| Amazon Kinesis | Managed cloud service | Fully managed | No servers to operate on AWS |
Deploying and operating Redpanda
Redpanda runs on bare metal, virtual machines, containers and Kubernetes, and is also offered as a managed service in dedicated, bring-your-own-cloud and serverless forms. The rpk command-line tool handles cluster configuration, topic management and automatic system tuning, which adjusts interrupt affinity, disk schedulers and CPU frequency settings for the host.
Capacity planning follows hardware rather than JVM heap sizing. Because each core owns its partitions, CPU core count, memory per core and NVMe throughput determine how much load a node can absorb. Tiered storage moves older log segments to object storage, which allows long retention at lower cost while local disks hold only recent data.
The decision table below helps match common situations to a suitable Redpanda configuration.
| Situation | Recommended choice | Reason |
|---|---|---|
| Latency-sensitive trading or telemetry | Local NVMe, acks=all, few large nodes | Stable p99 latency with full durability |
| Months of event history required | Enable tiered storage | Object storage is cheaper than broker disks |
| Small team without platform engineers | Managed cloud offering | Removes upgrades and capacity work |
| Lightweight event filtering inside the broker | WebAssembly data transforms | Avoids a separate processing service |
| Edge site with limited hardware | Single-node or three-node cluster | Low resource footprint per binary |
Limitations and common mistakes with Redpanda
The most frequent misconception is that Kafka compatibility means identical behavior in every corner case. Administrative APIs, metrics names, configuration keys and some edge semantics differ, so monitoring dashboards and automation scripts written for Kafka usually need adaptation.
- Licensing matters: the core is source-available under the Business Source License, and some enterprise features require a commercial license, which affects redistribution and managed-service use.
- Undersized hardware hides the benefits: thread-per-core designs expect dedicated cores, so noisy shared virtual machines can erase latency advantages.
- Too many partitions per core increases memory use and Raft overhead; partition counts should follow measured throughput, not habit.
- Skipping backpressure design in consumers still causes lag, because a fast broker cannot compensate for slow downstream processing.
- Ecosystem gaps can appear with niche Kafka tools that depend on JVM internals or unsupported protocol versions.
Explained without jargon
Imagine a very fast, very reliable conveyor belt for messages. Applications place messages such as clicks, payments or sensor readings on the belt, and other applications pick them up in the same order, whenever they are ready. Redpanda is that conveyor belt.
It speaks the same language as Kafka, the best-known system of this kind, so programs built for Kafka can usually use Redpanda without being rewritten. The difference is under the hood: Redpanda is a single, compact program that squeezes more work out of each processor and keeps delays short and steady. The key idea is familiar behavior with simpler, faster machinery.
A typical use case
A mid-sized online retailer collects about 200,000 events per second from its website, mobile app and warehouse scanners. Its existing Kafka cluster of nine JVM brokers and a separate ZooKeeper ensemble needs frequent tuning, and checkout fraud checks occasionally see latency spikes above 200 milliseconds during traffic peaks.
The data engineering team deploys a three-node Redpanda cluster on servers with 16 cores and local NVMe drives, enables tiered storage for 90 days of retention and points its existing Kafka producers, Flink jobs and consumer groups at the new bootstrap addresses. After a month of parallel running and compatibility tests, the team switches traffic over. The fraud service now sees p99 latency of roughly 15 milliseconds, the cluster needs fewer machines, and the on-call load drops because there is no separate coordination service to maintain.