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.
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.
From the published benchmark runs.Producer result →Consumer result →
Iggy is a streaming log written in Rust. It does not run on top of another broker or database.
Each shard has its own single-threaded io_uring runtime. Shards can be pinned to cores, with NUMA-aware allocation.
Messages are stored in append-only segment files with offset and timestamp indexes, and each topic sets its own segment size.
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 →A built-in benchmarking tool measures throughput and latency on your own hardware. Results are published on the public benchmarks dashboard.
Docs →Producers append messages to partitions, and consumers read them from any position.
Streams group topics, and topics split into partitions. A stream can act as a tenant boundary with its own permissions and encryption key.
A consumer group distributes the partitions of a topic across its connected clients. Ordering is kept per partition, and rebalancing is cooperative.
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 →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 →Each topic sets its own message expiry and maximum size. The server can delete the oldest sealed segments once either limit is passed.
Docs →A producer sends to an explicit partition, balances messages across partitions, or routes by message key.
Docs →Each message can carry optional headers that hold metadata.
Docs →Replication is part of the server. A single node is the default, and a cluster is enabled in the configuration.
Iggy replicates with Viewstamped Replication Revisited. Writes commit on a quorum, and the cluster elects a new primary when the current one fails.
Each partition has its own consensus group. Partition primaries are spread across the nodes, so different nodes lead different partitions at the same time.
When a topic is created, it chooses how many nodes store each of its partitions.
Docs →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 →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 →The SDKs discover the metadata primary and each partition primary, route requests to them, and reconnect after a failure.
Docs →A deterministic simulator tests consensus under failures, delays and network partitions.
Docs →Authentication, authorization and encryption are built into the server.
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.
An authentication callout delegates unknown-user logins to your own HTTP service. The HTTP API can also accept JWTs from trusted external issuers.
Docs →The server key that wraps the stream keys can be rotated without re-encrypting messages.
Docs →A client can encrypt message payloads with AES-256-GCM before they are sent.
Docs →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.
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.
A connection string sets the transport, credentials, server address and options in a single URL, and every SDK accepts one.
Docs →Tools for moving data in and out of Iggy and for running it.
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.
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.