Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Apache NiFi, Is it possible to increase / decrease the scope of a controller?

Tags:

apache-nifi

In Apache NiFi, I created a controller within the appropriate scope at that time. Now I want to use the same controller in other places. My question is can I change the scope to the current processors group's ancestor so it can be used by other processors group ?

Thank you

like image 558
Vijay Kumar Avatar asked Mar 17 '19 14:03

Vijay Kumar


1 Answers

Changing the scope of existing Controller services is not yet possible in NiFi.

Method-1:

Define a controller service on root canvas level then this controller will be available on all Processor groups, Processors in NiFi instance with Scope as NiFi Flow.

Method-2:

Keep all the processor groups that are going to share same controller service in One Parent Processor group and define controller service on Parent Processor group then the defined controller service will be available to all the processor groups,Processors inside the parent processor group.

Other way:

Defining controller service on all the required processor groups.

like image 183
notNull Avatar answered Oct 06 '22 22:10

notNull