This week in Fluvio, I want to talk about an interesting problem I encountered while implementing a Batch Producer API for the Fluvio client. As part of our feature development process, we update each of our language clients with new APIs for interacting with the new functionality. This particular problem cropped up while I was implementing the Node client API for batch record producing, and has to do with passing Tuples from Node to Rust.

Overview

In this post, I’ll talk you through the problem solving journey I went on this week, by:

  • Describing the Rust API I wanted to call from Node
  • Discovering why the Node API didn’t work out-of-the-box, and
  • Explaining how I solved the problem with a patch to node-bindgen

#node #rust

Sending Tuples from Node to Rust and Back
2.10 GEEK