Research
Confluent spent 3 months rewriting Kafka’s Java client in Rust with AI — and had to start over
The New Stack · By Amanda Caswell ·
The Brief
- Confluent spent nearly three months using AI coding agents to translate Apache Kafka's Java client into Rust.
- The first implementation was discarded after performance problems slipped past automated tests.
- The team settled on a multi-agent workflow for the rewrite.
Why it matters
It shows that AI-assisted code translation of a production client can pass automated tests yet still fail on performance, so teams relying on such rewrites need dedicated performance validation.
Who’s affected
- Kafka client library users
- Teams evaluating AI coding agents for large code migrations
- #kafka
- #rust
- #ai-agents
- #code-migration
- #performance
Confluent spent nearly three months using AI coding agents to translate Apache Kafka’s Java client into Rust. The engineers discarded their first implementation, uncovered performance problems that slipped past automated tests, and eventually settled on a multi-agent workflow…