[
https://issues.apache.org/jira/browse/NIFI-6595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917553#comment-16917553
]
ASF subversion and git services commented on NIFI-6595:
-------------------------------------------------------
Commit 3c9426d287d34a617496fc75b1e1ffde485da2e4 in nifi's branch
refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3c9426d ]
NIFI-6595: Fixed bug in TailFile that caused it not to properly honor the
Initial Start Position after state has been restored
Signed-off-by: Pierre Villard <[email protected]>
This closes #3675.
> TailFile not always honoring "Initial Start Position" property
> --------------------------------------------------------------
>
> Key: NIFI-6595
> URL: https://issues.apache.org/jira/browse/NIFI-6595
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The "Initial Start Position" property for TailFile appears not to be honored
> once state has been stored, even if the state is cleared. To reproduce:
> Create file file.log.1 with some data in it.
> Create file file.log.2 with some data in it.
> Create file file.log with some data in it.
> Configure TailFile with "File(s) to Tail" set to "file.log" and "Rolling
> Filename Pattern" set to "file.log.*" and "Initial Start Position" of Current
> Time.
> Start the processor. Nothing should be consumed. Append to the file and data
> should be consumed.
> Stop the processor. Clear the state. Start the Processor again.
> No data should be ingested, but it will be.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)