You can use a number of processors to interact with Python. The ExecuteScript 
and InvokeScriptedProcessor components allow you to write Python (actually 
Jython) code and have it be executed by a JSR-223 script execution engine 
within the same NiFi JVM. This allows the script to be persisted in the NiFi 
flow directly and be reusable without external dependencies. 

You can also use the ExecuteProcess or ExecuteStreamCommand processors to 
invoke shell commands, including calling an external Python script. 


Andy LoPresto
[email protected]
[email protected]
He/Him
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Mar 10, 2020, at 4:53 AM, Karthick Subramanian <[email protected]> 
> wrote:
> 
> Hi,
> 
> Can anyone point me to any sources or samples on how to use python SDK 
> (Google Analytics, Facebook etc offers client SDK to access their API) inside 
> NiFi. 
> 
> Regards,
> K'sub

Reply via email to