Hi,

The property "Input Directory Location" of ListFile has two possible
values: "local" or "remote".

According to the doc, it "*specifies where the Input Directory is located.
This is used to determine whether state should be stored locally or across
the cluster*."

The same doc [1] states that: "*This Processor is designed to run on
Primary Node only in a cluster.* "

Q1: what means "locally" here ?
Does it really mean there is an _distinct_ (but with the same name) input
directory per node?

In that case, if the state is stored locally, I understand this way as
follows:

- as there is _distinct_ (but with the same name) input directory per node,
storing the state locally is good enough... as no node could read the input
directory of their siblings. Then, in case of primary node change, the
input directory changes, and then, no need to reuse the state of the
previous primary node.

Q2: is this/my understanding correct?

Thanks.

Regards,
Dominique

[1]
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.7.0/org.apache.nifi.processors.standard.ListFile/index.html

Reply via email to