BlazeMQ
52KB Kafka-compatible broker in C++20, zero dependencies
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built a message broker that speaks the Kafka wire protocol, so any Kafka client (librdkafka, kafka-python, kcat, etc.) works without code changes. The entire binary is 52KB. No JVM, no ZooKeeper, no third-party libraries — just C++20 with kqueue/epoll. Starts in <10ms, uses 0% CPU when idle. I built this because running Kafka locally for development is painful — gigabytes of RAM, slow startup, ZooKeeper/KRaft configuration. I just wanted something that accepts produce requests and gets out of the way. Technical details: - Single-threaded event loop (kqueue on macOS, epoll on Linux) - Memory-mapped log segments (1GB pre-allocated, sequential I/O) - Lock-free SPSC/MPSC ring buffers with cache-line alignment - Kafka protocol v0-v3 including flexible versions (ApiVersions, Metadata, Produce) - Auto-topic creation on first produce or metadata request The most interesting bug I hit: librdkafka sends ApiVersions v3, which uses Kafka's "flexible versions" encoding. But there's a special exception in the protocol — ApiVersions responses must NOT include header tagged_fields for backwards compatibility. One extra byte shifted every subsequent field, causing librdkafka to compute a ~34GB malloc that crashed immediately. Current limitations: no consumer groups, no replication, single-threaded, no auth. It's v0.1.0 — consume support is next. MIT licensed, runs on macOS (Apple Silicon + Intel) and Linux.
HN · launched Feb 10, 2026 · 5 upvotes (top 89%) · 0 views
Niche: event streaming platforms · 38 launches, 2 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Data infrastructure
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 38 launches in event streaming platforms →
Could you build this?
No Implementing a high-performance, zero-dependency Kafka wire protocol broker in C++20 using raw kqueue/epoll requires elite systems programming and distributed systems networking skills.
What it would actually take: Requires deep C++20 systems programming, low-level asynchronous I/O via kqueue/epoll, custom binary serialization/deserialization matching the complex Kafka protocol specifications, and custom disk-backed append-only commit logs with page-cache optimizations. A solo developer cannot vibe-code this without extensive knowledge of binary network protocols and low-level memory/socket architectures.
Discussion
1 comment analyzed.
Competitors mentioned: Kafka
Concerns raised: Startup time and memory claims disputed, Kafka native images already address stated pain points
Competitors
Other products that read as similar to this one : 166 launches clear the similarity bar, closest 8 shown.
Attention rank: #158 of 167 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 104 days after the earliest competitor.
- StreamHouse · hn · 2026-02-25 · 10 upvotes · similarity 0.52
- BROKA · ph · 2026-10-24 · 2 upvotes · similarity 0.50
- LavinMQ, an open-source message broker written in Crystal · hn · 2026-04-28 · 16 upvotes · similarity 0.49
- RedfireForge · ph · 2026-09-15 · 1 upvotes · similarity 0.47
- WolveKafka · hn · 2026-11-10 · 11 upvotes · similarity 0.47
- DuckDB for Kafka Stream Processing · hn · 2025-12-08 · 77 upvotes · similarity 0.46
- Sofka · hn · 2026-08-19 · 5 upvotes · similarity 0.45
- Artie Managed Kafka: Apache Kafka for half the cost of MSK · yc · 2026-11-03 · 8 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.