On 2023/06/20 09:12:28 Enrico Olivelli wrote: > > I am interested to know your thoughts on making the Pulsar Functions > > runtime pluggable so that we can add new runtime types. > > I see that RuntimeFactory [1] is already customizable. > What can we do more ? > Are you talking about providing alternative implementations for > JavaInstanceRunnable [2] ?
My intention was to first focus on the use case before getting into the details of how it would exactly be implemented. With a pluggable solution, I mean having a solution in place where you could possibly add .nar files to some directory and add support for new runtime types by implementing some plugin specification. The current solution doesn't contain this property. A pluggable solution would make it easier for contributing new runtime types. Let's say if we would want to add support for these technologies: * functions written in Node.js / JavaScript * functions using WebAssembly (WASM), for example implemented in Rust Makes sense? -Lari