Hello,
The default behavior of GetFile is to pull the file in once and then delete it. If you choose to have the Processor not delete the file, it will continually pull in the data. The Processor is stateless, so it cannot know whether or not he file has been picked up if it doesn’t delete it. The ability to “Keep Source File” is really intended for testing purposes. If your goal is to pick up from say /data/in and you don’t want to delete the data, my recommendation is instead to store the data in another directory (say /data/archive) and then just copy the file that you want to pick up from /data/archive to /data/in. The GetFile will then pull in the file from /data/in and delete it. Thanks -Mark From: cpk Sent: Tuesday, February 10, 2015 10:39 AM To: [email protected] H, I have designed one flow which contains GetFile processor to get file from local directory and send it to another processor. Everything is working fine but GetFile processor calliing recurcively until I stop process(click on red icon button). Is there anyway to stop the process once read the file first time? Thanks, -- View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Issue-with-GetFile-Processor-tp657.html Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.
