Hi all,

@Josef, what do you mean with Wait and DetectDuplicate processors? How to
delay fetching by time of conversion?
How can Wait processor know that file is converted completely? If the file
is listed again and DetectDuplicate processor
caches identifier, Wair processor will pass flowfile downstream. What in
case if file is that big that will be listed three times or four times?

Regards,
Tom

On Mon, 28 Jan 2019 at 11:09, <[email protected]> wrote:

> Hi Tom
>
>
>
> I suggest to use a Wait Processor (to delay the fetch) together with
> DetectDuplicate Processor. In that way you will fetch the file only once
> and after it has been written completely (as long as you know how long it
> takes in max. to finish writing). I know it’s not nice but that’s how we do
> it for the moment… I’m waiting for this feature as well :-(.
>
>
>
> Cheers Josef
>
>
>
>
>
> *From: *Arpad Boda <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Monday, 28 January 2019 at 10:17
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: Minimum file age
>
>
>
> Hi,
>
>
>
> It’s on the way: https://issues.apache.org/jira/browse/NIFI-5977 :)
>
>
>
> Regards,
>
> Arpad
>
>
>
> *From: *Tomislav Novosel <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Monday, 28 January 2019 at 09:19
> *To: *"[email protected]" <[email protected]>
> *Subject: *Minimum file age
>
>
>
> Hi all,
>
>
>
> I'm having issue with SFTPList processor in Nifi. When reading files from
> folder where another process writes files, it lists the same file multiple
> time and ingests file multiple times because modification date of file
> changes rapidly as another process writes to it.
>
>
>
> It appears that Nifi lists faster than external process writes, so before
> the end of writing (conversion of file from one format to another), Nifi
> lists file multiple time and then creates duplicates.
>
>
>
> There is no property of Minimum file age like in ListFile processor.
>
>
>
> How can I resolve this to wait for a moment when the file is converted
> completely and then to list file and pass it to FetchSFTP processor?
>
>
>
> Thanks in advance,
>
> Tom.
>

Reply via email to