Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create new flow using Apache Nifi

Tags:

apache-nifi

How can I create new flows using Apache Nifi. Is there only one flow?

Also what about authentication? Can different users have different flows?

like image 943
Gökhan Çoban Avatar asked Jun 30 '16 10:06

Gökhan Çoban


2 Answers

There is only one top-level canvas, but you can construct as many logical flows as you like. Typically to organize things process groups are used, so the top-level canvas can have several process groups each representing a logical flow, but not necessarily connected to each other.

In the current version of NiFi users have roles, so if a user is a data flow manager they can see and change any part of the flow, and if they are a monitor role they have read only access. In a future release being worked on right now this will change to more fine grained access control per component. In the model, if there were two process groups on the root canvas, you could give one set of users access to only process group 1 and another set of users access to only process group 2.

like image 162
Bryan Bende Avatar answered Sep 23 '22 16:09

Bryan Bende


How can I create new flows using Apache Nifi. Is there only one flow?

You can create as many flows as you want, however, you can't have 'tabs'. The general consensus is to use Process Groups to separate flows and tidy up the view.

Can different users have different flows?

Not right now, but it is part of their backlog to implement something. Keep an eye out on the Release Notes for more information, or monitor the Dev Mailing list for an upcoming information.

Also what about authentication?

I have set up NiFi to use authentication through LDAP, see the NiFi Docs for more information on how this works and other methods.

Hope this helps!

like image 31
tommyyards Avatar answered Sep 21 '22 16:09

tommyyards