[ 
https://issues.apache.org/jira/browse/NIFI-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982764#comment-14982764
 ] 

Joe Skora commented on NIFI-994:
--------------------------------

[~markap14] I agree Scenario #4 is unlikely, but I fully expect Scenario #2 
will happen.  Since it will only occur at the frequency of the log rotation it 
will probably go unnoticed and it might be impossible to detect.

However, I can envision OS aware versions that use file system features like 
iNotify or understand logrotate so that they can keep on processing the data 
even as the "logs roll".  ;-)

Regardless, this is going to be a useful processor and probably pretty popular. 
 It will be good to have it in the toolkit!

> Processor to tail files
> -----------------------
>
>                 Key: NIFI-994
>                 URL: https://issues.apache.org/jira/browse/NIFI-994
>             Project: Apache NiFi
>          Issue Type: New Feature
>    Affects Versions: 0.4.0
>            Reporter: Joseph Percivall
>            Assignee: Mark Payne
>             Fix For: 0.4.0
>
>         Attachments: 0001-NIFI-994-Initial-import-of-TailFile.patch, 
> 0002-NIFI-994-Ensure-that-processor-is-not-valid-due-to-t.patch
>
>
> It's a very common data ingest situation to want to input text into the 
> system by "tailing" a file, most commonly log files. Currently we don't have 
> an easy way to do this. 
> A simple processor to tail a file would benefit many users. There would need 
> to be an option to not just tail a file but pick up where the processor left 
> off if it is interrupted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to