Support Questions

Find answers, ask questions, and share your expertise

How to use Apache Nifi in Production?

avatar

I have created a data flow and save it as a template. I want to deploy my data flow(template) in production using putty. don't want to start my flow from User interface. Are there any script or any way available to do so ?

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Ashis Panigrahi

NiFi does have a REST API that can be used in this case. Here are links to both the NiFi docs for the API, and to github repo that shows an example script that might help get you started:

https://nifi.apache.org/docs/nifi-docs/rest-api/

https://github.com/aperepel/nifi-api-deploy

View solution in original post

2 REPLIES 2

avatar
Guru

Hi @Ashis Panigrahi

NiFi does have a REST API that can be used in this case. Here are links to both the NiFi docs for the API, and to github repo that shows an example script that might help get you started:

https://nifi.apache.org/docs/nifi-docs/rest-api/

https://github.com/aperepel/nifi-api-deploy

avatar

Thanks @Sonu Sahi