Confluent spent nearly three months using AI coding agents to port Apache Kafka’s Java client to Rust, restarting once after performance issues and releasing a generally available Rust client plus a Python preview.
Confluent spent nearly three months using AI coding agents to port Apache Kafka’s Java client to Rust. The team abandoned its first attempt after performance analysis exposed issues that the test suite had not detected, then restarted with more detailed instructions.
Principal engineer and Apache Kafka committer Andrew Schofield described the project in a technical post. The effort began with Anthropic’s Claude Opus 4.6 and later model iterations; two engineers each devoted roughly 75% of their time to the experiment.
Confluent now has a generally available Rust client derived from Apache Kafka 4.4.0 and a preview version of a new Python client. Rather than rebuild the Rust implementation from scratch when Kafka 4.4.0 shipped, the team applied 191 upstream commits in less than two working days.
The workflow uses a Project Manager, an Actor that translates the code and a Critic that reviews it through Git. Engineers approve milestone and phase plans, while the agents typically require about five review iterations. The ported test suite passed, but the team later found a sleep call running on every networking-loop iteration.
Confluent aims to establish a continuous translation pipeline to keep non-Java clients aligned with future Kafka releases. The company has not yet demonstrated that it can sustain multiple implementations in lockstep or quantified the required engineering effort; Schofield expects the pipeline work to begin in mid-2027. The code is published under the Apache License 2.0.