Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-20-2016 10:15 AM
Hi !
I would like to run nifi without having to use the web UI. I saw that it is possible to run nifi via the APIs (https://community.hortonworks.com/questions/36226/can-i-use-nifi-without-any-web-ui.html), but how to use it ? (or where to learn to use it?)
Is there an other way to run nifi witout the UI (usnig bash shell for example) ?
Created 09-20-2016 01:01 PM
I wonder if you're looking for MiNiFi?https://nifi.apache.org/minifi/index.html
Created 09-20-2016 11:10 AM
You will find the whole REST API documentation here :
https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
By using the endpoints provided in the documentation, you can control NiFi in a scripted-manner using 'curl' (for example).
Created 09-20-2016 01:01 PM
I wonder if you're looking for MiNiFi?https://nifi.apache.org/minifi/index.html
Created 09-21-2016 06:34 AM
Thanks, I tried Minifi and could do what I wanted. 🙂
Created 09-20-2016 03:50 PM
Ok, thanks for your answers.
@Pierre Villard, I'll Watch about the REST API.
@Andrew Grande, otherwise I'm not sure I've understood the goal of Minifi.
What I exacty want to do is :
- Set Nifi through the web UI on a PC to do a certain task
-Export both Nifi and this preset in a file
-Install and make Nifi and this preset run on an other computer/server without having to use the web UI (or maybe install Nifi, import my Template and lunch it without the UI)
Is this kind of thing possible?
Created 09-20-2016 06:48 PM
That is literally the use case for MiNiFi. MiNiFi runs with far fewer resources necessary and no UI, but can accept flows designed using the NiFi UI on the same or separate machine.
Created 09-21-2016 06:37 AM
Yes I finally noticed yhat. I tried it and it works exactly as I wanted 🙂