Hi Luis,

Any reason for not using a Python processor?
Also, if your transformation is easy, it's very likely doable with existing
processors.

Otherwise ExecuteStreamCommand might be an option for executing a local
script on the NiFi node.

Thanks,
Pierre


Le mer. 9 oct. 2024 à 05:06, Luis Carmona <[email protected]> a
écrit :

> Hi folks,
>
> I need to run a python script or javascript to perform a very simple
> json data transformation
>
>
> - Already checked ScriptedTransformRecord, but it has options for Groovy
> & Clojure only. Tried the javascript syntax in Clojure but didn't work
> and couldn't find the right way to right the Clojure script.
>
> - Checked ExecuteScript as well but is says Experimental and
> documentation says "No script engines found" for script engine so
> couldn't figure out how to use either.
>
>
> Which would be the best way to run a short piece of python code ?  I am
> trying with NIFI 2.0 M4.
>
> Any tip, sample or tutorial would be great, thanks in advance.
>
>
> Luis
>
>
>

Reply via email to