Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to execute the script(eg: python), based on the key/property from NiFi?

How to execute the script(eg: python), based on the key/property from NiFi?

Contributor

Hi, 

 

I have data(say key) generated from one  of machine learning model, I red this key from kafka and passed to Nifi, based on the key i need to execute the file or script(say python) or bot script( this might restart the system ) from NiFi? .

 

Plz provide me some input it will be great helpful?

Don't have an account?
Coming from Hortonworks? Activate your account here