Pierre Villard created NIFI-8967:
------------------------------------

             Summary: PrimaryNode may not be desired for ListX processors
                 Key: NIFI-8967
                 URL: https://issues.apache.org/jira/browse/NIFI-8967
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Pierre Villard
            Assignee: Pierre Villard


As of today, many ListX processors are annotated with PrimaryNodeOnly forcing 
the execution of the processor on the primary node of the cluster. However, in 
some cases, we may want to execute a ListX>FetchX>PutFile flow on all nodes to 
make some data available locally to all NiFi nodes.

This JIRA adds the option to set the default execution note in the 
DefaultSettings annotation, and makes the changes to some of the processors to 
remove the PrimaryNodeOnly annotation to allow for the execution of the 
processor on all nodes.

It also changes the state management to use a LOCAL scope when the processor is 
configured to run on all nodes and a CLUSTER scope when the processor is 
configured to run on the primary node only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to