Move execution of lua
transform into a separate thread
#2200
Labels
domain: reliability
Anything related to Vector's reliability
needs: approval
Needs review & approval before work can begin.
transform: lua
Anything `lua` transform related
type: tech debt
A code change that does not add user value.
Currently Lua transform (both version 1 and version 2) execute the user-defined code inside a Tokio thread. However, if the user-defined code hangs, for example because of an infinite loop, it might stop entire topology if there are no other available threads.
It can be fixed by moving the runtime code into a separate thread, and then making this separate thread communicate with the Tokio threads using channels.
The text was updated successfully, but these errors were encountered: