I have a flow which include ListFile > FetchFile > (other processors) , which works fine in non-cluster mode.
Now I want to switch to cluster mode; I know that I can set ListFile to be run on primary node , then use Remote Process Group to FetchFile and do other processing.
But my files only exists on node A, and node B have no access to that folder. Also, zookeeper select primary node automatically, it is probably to throw exception when Primary node is node B.
So, are there any way to somehow 'force' ListFile processor always list file on node A?