If Apache Iggy is useful to you, give it a star on GitHubStar apache/iggy

Features

Apache Iggy™ is a persistent message streaming platform written in Rust. It supports the QUIC, TCP, WebSocket and HTTP transports and can process millions of messages per second.

Throughput
2M+ msg/sSingle node
Producer throughput
1 GB/sPersisted writes
Consumer throughput
2 GB/sPersistent log reads
Producer P99
0.98 ms0.47 ms average
Consumer P99
0.49 ms0.36 ms average

From the published benchmark runs.Producer result →Consumer result →

Performance

Iggy is a streaming log written in Rust. It does not run on top of another broker or database.

Thread-per-core, shared-nothing server

Each shard has its own single-threaded io_uring runtime. Shards can be pinned to cores, with NUMA-aware allocation.

Architecture docs →

Segmented append-only log

Messages are stored in append-only segment files with offset and timestamp indexes, and each topic sets its own segment size.

Storage engine docs →

Zero-copy binary messages

Iggy works directly with binary payloads and enforces no schema. Custom zero-copy serialization and a pooled buffer allocator reduce copying and memory use.

Docs →

Open benchmarks

A built-in benchmarking tool measures throughput and latency on your own hardware. Results are published on the public benchmarks dashboard.

Docs →

Streaming model

Producers append messages to partitions, and consumers read them from any position.

Streams, topics and partitions

Streams group topics, and topics split into partitions. A stream can act as a tenant boundary with its own permissions and encryption key.

Concepts docs →

Consumer groups

A consumer group distributes the partitions of a topic across its connected clients. Ordering is kept per partition, and rebalancing is cooperative.

Concepts docs →

Polling from any position

Read by offset, by timestamp, from the first or last messages, or from the next message for a consumer. The server stores consumer offsets, with optional auto-commit.

Docs →

Deferred polling

The server can hold a read until enough messages are available or the wait ends. Clients do not have to keep polling an empty partition.

Docs →

Retention per topic

Each topic sets its own message expiry and maximum size. The server can delete the oldest sealed segments once either limit is passed.

Docs →

Partitioning strategies

A producer sends to an explicit partition, balances messages across partitions, or routes by message key.

Docs →

Message headers

Each message can carry optional headers that hold metadata.

Docs →

Clustering and durability

Replication is part of the server. A single node is the default, and a cluster is enabled in the configuration.

Built-in VSR clustering

Iggy replicates with Viewstamped Replication Revisited. Writes commit on a quorum, and the cluster elects a new primary when the current one fails.

Viewstamped Replication docs →

Multi-leader partitions

Each partition has its own consensus group. Partition primaries are spread across the nodes, so different nodes lead different partitions at the same time.

Multi-leader partitions docs →

Replication factor per topic

When a topic is created, it chooses how many nodes store each of its partitions.

Docs →

Durability per topic

A topic selects what an acknowledged write guarantees: replicated waits for the consensus commit, and persisted also requires copies on stable storage at the quorum.

Docs →

Idempotent producers

Opt-in for the Rust high-level producer and the Kafka gateway. A partition recognizes a retried batch it has already accepted and does not append it again.

Docs →

Client failover

The SDKs discover the metadata primary and each partition primary, route requests to them, and reconnect after a failure.

Docs →

Deterministic simulation testing

A deterministic simulator tests consensus under failures, delays and network partitions.

Docs →

Security

Authentication, authorization and encryption are built into the server.

Users, permissions and encryption

Clients log in with a username and password or a personal access token. Permissions are granted globally, per stream or per topic. TCP, QUIC, WebSocket and HTTP all support TLS, and each encrypted stream has its own AES-256-GCM-SIV key.

Security docs →

External identity

An authentication callout delegates unknown-user logins to your own HTTP service. The HTTP API can also accept JWTs from trusted external issuers.

Docs →

Encryption key rotation

The server key that wraps the stream keys can be rotated without re-encrypting messages.

Docs →

Client-side encryption

A client can encrypt message payloads with AES-256-GCM before they are sent.

Docs →

Clients and protocols

Nine SDKs, four transports

Client SDKs are available for Rust, C#, Java, Python, Node.js, Go, PHP, C++ and Swift. The server accepts QUIC, TCP and WebSocket connections on its binary protocol, and offers a REST API over HTTP.

SDKs docs →Networking docs →

Kafka gateway

A separate gateway service accepts Kafka producers, consumers and admin clients and stores their data in Iggy. It is not a complete Kafka broker, and transactions are unsupported.

Kafka gateway docs →

Connection strings

A connection string sets the transport, credentials, server address and options in a single URL, and every SDK accepts one.

Docs →

Ecosystem and operations

Tools for moving data in and out of Iggy and for running it.

Connectors

The connector runtime loads sinks and sources as Rust plugins, with built-in transforms. Sinks include PostgreSQL, Elasticsearch, Apache Iceberg and S3, and sources include PostgreSQL, MQTT and HTTP.

Connectors docs →

MCP server, CLI and Web UI

A Model Context Protocol server exposes more than 40 tools for streams, topics, messages, consumer groups and users. The iggy command manages a server from the terminal, and the Web UI dashboard manages streams, topics and partitions and browses messages.

MCP server docs →CLI docs →Web UI docs →

Prometheus metrics

The server exports Prometheus metrics on its HTTP API. Prometheus or an OpenTelemetry collector can scrape them.

Docs →

Single binary

The server is a single binary with no external broker or database. Docker images and Helm charts are provided.

Docs →

Ready to start?