Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to run nifi without web UI ?

avatar
Explorer

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) ?

1 ACCEPTED SOLUTION

avatar
6 REPLIES 6

avatar

@François Robard,

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).

avatar

I wonder if you're looking for MiNiFi?https://nifi.apache.org/minifi/index.html

avatar
Explorer

Thanks, I tried Minifi and could do what I wanted. 🙂

avatar
Explorer

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?

avatar

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.

avatar
Explorer

Yes I finally noticed yhat. I tried it and it works exactly as I wanted 🙂