[
https://issues.apache.org/jira/browse/NIFI-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251832#comment-16251832
]
Pierre Villard commented on NIFI-4606:
--------------------------------------
Hi [~markap14],
I just had a look into this one to understand the situation. It appears that
the change I made in this commit:
https://github.com/apache/nifi/commit/7df5c2dc891a57f382075d868244f843de6fd960
is the reason why this property is not used anymore in the code. Basically,
with the possibility to tail multiple files with the same processor, we are
regularly checking (based on the other properties) what are the files to tail.
It removes the need to differentiate the rolling strategy.
Anyway... you can definitely remove this property as it is not used anymore.
You might also want to update the "additionalDetails" page to reflect this
change.
> TailFile has a property named "Rolling Strategy" but it is never used
> ---------------------------------------------------------------------
>
> Key: NIFI-4606
> URL: https://issues.apache.org/jira/browse/NIFI-4606
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
>
> The TailFile processor has a property that is named "Rolling Strategy." It
> has two allowable values "Fixed name" or "Changing name." I was unable to
> understand from the documentation what the intent of the property was, so I
> began to read the code in order to understand so that I could better update
> the documentation. However, looking through the code, I found that the
> property was only ever looked at in the customValidate method and never used
> for any logic within the processor.
> Therefore, this property needs to be removed from the processor, since it
> adds complexity to the processor's configuration and doesn't actually affect
> the behavior of the processor itself.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)