article --summary
The summary
Confluent's engineers tried to translate Apache Kafka's Java client into Rust with AI coding agents over roughly three months. Their first translation was discarded after several weeks, and the team later found a performance flaw that the translated test suite had not caught, which led them to write more precise instructions that describe intended behavior.
The final workflow uses a project manager agent that coordinates an actor agent, which writes the code, and a critic agent, which reviews it through Git until the issues are resolved, with engineers approving plans and architectural choices. The team says this approach applied 191 upstream Kafka commits in under two working days when Kafka 4.4.0 arrived, and it has released a generally available Rust client along with a Python preview.
Confluent hopes to build a continuous translation pipeline to keep its non-Java clients aligned with future Kafka releases, though it has not yet shown how well that will keep multiple implementations in sync. The project's code is available under the Apache License 2.0.
Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.