Re: Nifi fetching files

2018-10-12 Thread Mike Thomsen
Another thing is that you can also have the process add a period to the
start of the filename to hide them until they're done being written and can
be renamed, if you want to be extra safe.

On Fri, Oct 12, 2018 at 10:01 AM Aldrin Piri  wrote:

> Hi Tom,
>
> You can make use of the minimum file age property on ListFile to ignore a
> file until it has reached the desired 10 minute buffer.
>
> On Fri, Oct 12, 2018 at 9:59 AM Tomislav Novosel 
> wrote:
>
>> Hi Nifi team,
>>
>> my usecase is to list files and fetch files using ListFile and FetchFile
>> processors from intermediate folder which is also  destination of my
>> external .exe script.
>>
>> Fetching from that folder has completion strategy to delete files.
>>
>> How can I wait for let's say 10 minutes before files are fetched from
>> that folder to avoid conflict between two processes (Nifi and external
>> script) and exceptions like Access denied etc.
>>
>> Thanks,
>> Tom
>>
>


Re: Nifi fetching files

2018-10-12 Thread Aldrin Piri
Hi Tom,

You can make use of the minimum file age property on ListFile to ignore a
file until it has reached the desired 10 minute buffer.

On Fri, Oct 12, 2018 at 9:59 AM Tomislav Novosel 
wrote:

> Hi Nifi team,
>
> my usecase is to list files and fetch files using ListFile and FetchFile
> processors from intermediate folder which is also  destination of my
> external .exe script.
>
> Fetching from that folder has completion strategy to delete files.
>
> How can I wait for let's say 10 minutes before files are fetched from that
> folder to avoid conflict between two processes (Nifi and external script)
> and exceptions like Access denied etc.
>
> Thanks,
> Tom
>


Nifi fetching files

2018-10-12 Thread Tomislav Novosel
Hi Nifi team,

my usecase is to list files and fetch files using ListFile and FetchFile
processors from intermediate folder which is also  destination of my
external .exe script.

Fetching from that folder has completion strategy to delete files.

How can I wait for let's say 10 minutes before files are fetched from that
folder to avoid conflict between two processes (Nifi and external script)
and exceptions like Access denied etc.

Thanks,
Tom