To implement these prototype versions of the IOs, I followed the approach of thoroughly defining options and general specs (using an already existing IO, the gotchas I knew about those, discarding legacy things in some cases). It gets you far enough that you can start testing and comparing behavior + results.
I think having an discussed + approved spec for an IO, or in general a PTransform, can be super helpful for code generation and rapid iteration + approval. I have a half done version for the Kafka one, let me work on it and I will share it here. On Wed, Nov 18, 2026 at 5:57 PM Kenneth Knowles <[email protected]> wrote: > One optional step for the IOs is to create a summary doc of their > configuration parameters. If they have xlang / managed forms then they > may have this already. If they don't, then having a language-independent > summary of their config options would be very useful, and probably just as > easy to autogenerate as part of prompting an implementation. It could then > also be used if you wanted to try a best-of-N implementation approach or > some such. > > Kenn > > On Wed, Nov 18, 2026 at 2:40 PM pablo rodriguez defino < > [email protected]> wrote: > >> @Ganesh, wow that looks pretty cool! I'm glad to see that the prototype's >> foundation enabled you to build it =) >> >> @Cham, @Kenn, I took a stab into building some *very raw* >> implementations of some commonly used IOs (BT, BQ, Kafka, Iceberg streaming >> write) and captured some performance numbers on native pipelines + xlang >> pipelines using the Rust prototype from Python. I added the results as an >> appendix to the RFC doc, but in recap, at an early stage, the numbers >> indicate lower CPU and memory usage, better throughput per CPU and wall >> exec time. Feel free to take a look. >> >> On Tue, Nov 17, 2026 at 3:47 AM Ganesh Sivakumar <[email protected]> >> wrote: >> >>> Hey Everyone, I've been experimenting with writing Beam SQL module for >>> the Rust SDK. Instead of porting the Beam Java module to Rust, I tried to >>> implement vectorized query execution using Apache Datafusion and Arrow, to >>> start with it has a Java equivalent of SQL transform with support for >>> filters and bounded join operations. >>> >>> The module generally aims to have simillar structure and concepts like >>> Beam Java SQL but tries to make query execution faster using Datafusion and >>> also leverage its SQL parser and planner for which Java uses Apache Calcite >>> and extends it. Would love for you all to check out the module[1], try out >>> SQL examples[2] and get feedback on approch from community: Beam SQL >>> specific things that we need to evaluate Datafusion on and whether this >>> direction is a good contribution for Beam Rust SDK. >>> >>> [1] - >>> https://github.com/flare-db/beam-rust/tree/feat/rust-sdk-sqldev/sdks/rust/beam/sql/src >>> >>> [2] - >>> https://github.com/flare-db/beam-rust/tree/feat/rust-sdk-sqldev/sdks/rust/examples/sql/examples >>> >>> Thanks, >>> Ganesh. >>> >>> >>> >>> From: Kenneth Knowles via dev <[email protected]> >>> To: <[email protected]> >>> Cc: "Chamikara Jayalath"<[email protected]>, "Kenneth Knowles"< >>> [email protected]> >>> Date: Tue, 17 Nov 2026 01:13:42 +0530 >>> Subject: Re: Fwd: [Request for Feedback] Apache Beam Rust SDK >>> >>> I think this is *more* than far enough along to start merging to the >>> repo. This doesn't commit us to releasing it on any particular timeframe, >>> but makes it a lot easier for everyone to collaborate and utilize it. >>> Others can feel free to respond here if they think there are particular >>> milestones we should wait for. But the sooner we get it in, the more code >>> changes are really well reviewed incrementally and people can start to >>> understand it better. >>> >>> Kenn >>> >>> On Tue, Nov 10, 2026 at 6:11 PM Chamikara Jayalath via dev < >>> [email protected]> wrote: >>> >>> Thanks for starting this work Pablo. Based on an offline discussion, the >>> performance advantages of end-to-end Rust pipelines that use widely used >>> connectors such as BQ and Kafka seem impressive compared to Java/Python >>> SDKs. I think there are two ways we can make this work available to users >>> to significantly boost the performance of their Beam pipelines. >>> >>> (1) Author the pipeline using Rust SDK. >>> >>> This will potentially give the most performance gain but customers will >>> need to switch the primary language they use to author the pipeline. >>> >>> (2) Use the multi-language pipelines framework [1] to replace >>> Java/Python connectors (or any other transforms that could benefit from a >>> performance boost) underneath without changing the primary SDK. >>> >>> This will allow users to continue using their preferred language to >>> author the pipeline and any custom DoFns but Beam will replace key >>> connectors underneath. We might want to introduce an option for customers >>> to express willingness for this optimization to occur ( for example, an >>> option *rust_optimized *in the Managed I/O API [2]). We will also need >>> to develop and release SDK harness containers that execute Rust. >>> >>> I'm supportive of pursuing both avenues :) >>> >>> Thanks, >>> Cham >>> >>> [1] >>> https://beam.apache.org/documentation/programming-guide/#multi-language-pipelines >>> [2] https://beam.apache.org/documentation/io/managed-io/ >>> >>> On Wed, Oct 14, 2026 at 7:36 AM Kenneth Knowles <[email protected]> wrote: >>> >>> I am really excited about this Rust SDK. We've had people working it >>> here and there for years and it finally looks like it is going to be ready. >>> I'm very impressed with the level of functionality it is at already! >>> >>> Kenn >>> >>> On Wed, Oct 14, 2026 at 3:43 AM pablo rodriguez defino < >>> [email protected]> wrote: >>> >>> If the community decides to move forward with the proposal and the SDK >>> reaches a stable status, then eventually, yes. >>> >>> On Tue, Oct 13, 2026 at 10:58 PM Ganesh Sivakumar <[email protected]> >>> wrote: >>> >>> >>> Hi Pablo, >>> >>> Thanks for sharing this proposal, it's satisfying to see Beam pipelines >>> written in Rust. Any plans for publishing Beam Rust SDK crates to >>> crates.io? and as I am also working on a Rust Runner, I'd feel >>> comfortable contributing to SDK as well. >>> >>> Thanks, >>> Ganesh >>> >>> >>> >>> From: pablo rodriguez defino <[email protected]> >>> To: <[email protected]> >>> Date: Tue, 13 Oct 2026 07:56:13 +0530 >>> Subject: Fwd: [Request for Feedback] Apache Beam Rust SDK >>> >>> Hi all, >>> >>> I've been working on an Apache Beam SDK in Rust, building on the ideas >>> from the 2023 hackathon and design notes [1, 2], and I wanted to share the >>> design doc and current progress on the implementation with the list: >>> >>> - Design doc >>> >>> <https://docs.google.com/document/d/1M4ZsHNobSt526__rtcwp7K0ULvL9sAKnKBt39CcA7Vw/view> >>> . >>> - Code (branch `feat/rust-sdk` >>> >>> <https://github.com/prodriguezdefino/beam-pabs/tree/feat/rust-sdk/sdks/rust> >>> ). >>> >>> The doc goes through the main design choices (targeting portability with >>> Prism and Dataflow Runner v2, static typing and coders, the `DoFn` trait, >>> and how the worker locates user code) and what is currently implemented and >>> minimally validated on the branch. >>> >>> First of all, thanks for your attention =) I'd love to hear if there is >>> interest in the community in having this contributed to Beam, and get >>> general thoughts on the approach. Section 6 of the doc also lists a few >>> open topics, if anyone wants to chime in: >>> >>> - worker code registration, >>> - `DoFn` ergonomics, >>> - whether it should live in the main repo or a separate one, >>> - and a proposed stacked-PR plan for review. >>> >>> Any comments on the doc or replies on this thread are very welcome! >>> >>> Thanks, >>> Pablo >>> >>> [1] https://lists.apache.org/thread/xg9xq0btp8k1wh2v1gpqyfhwpsyxq4ds >>> [2] https://lists.apache.org/thread/gwnn0l9qq3x8svjbwmsr8cykq8600vhz >>> >>> >>> >>> >>> >>>
