Support Questions

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

Nifi in production

avatar
Super Collaborator

Hi,

It seems the nifi canvas can be used by only one person for one dataflow

How do we start/stop/schedule multiple data flows? We can't keep all on the canvas..right?

Thanks,

Avijeet

1 ACCEPTED SOLUTION

avatar
Rising Star

Actually the NIFI canvas can be used by multiple sessions in parallel - just test it on your environment: Open it once in WebBrowser A and then in B (should be different ones eg. FireFox and Chrome etc.). However you are right - there needs to go some more improvement into the features to better support the management. Good news is that it is already considered important, have a look at https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows

Right now a good approach would be to group the different data flows in process groups for management and version controlling (via templates).

View solution in original post

5 REPLIES 5

avatar
Rising Star

Actually the NIFI canvas can be used by multiple sessions in parallel - just test it on your environment: Open it once in WebBrowser A and then in B (should be different ones eg. FireFox and Chrome etc.). However you are right - there needs to go some more improvement into the features to better support the management. Good news is that it is already considered important, have a look at https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows

Right now a good approach would be to group the different data flows in process groups for management and version controlling (via templates).

avatar
Super Collaborator

hi @Peter Greiff, Thanks for the response.

so lets say I have 10 templates, and I want to start/stop them using rest-api

can I do it, without loading them in the UI? what does nifi-considers as active? I believe only active elements can be accessed by rest api?

avatar
Rising Star

Avijeet, yes this is possible. You will have to use the "Update Processor" API from NIFI.

There is a great description written by Andrew Grande about How to update Nifi Flows on the fly: https://community.hortonworks.com/articles/3160/update-nifi-flow-on-the-fly-via-api.html

avatar
Super Collaborator

Hi Peter, Thanks, let me try to see is if i can start a template/process group using rest-api without loading in UI.

avatar
Rising Star