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

Joseph Witt commented on NIFI-6441:
-----------------------------------

Ok but lets think through this and the implications further.

ListFile today is given an input directory as a processor property.  This is 
important because it can then keep track/state on which files it has seen in 
that directory and deal with various complexities of timestamps, number of 
objects, etc..  If we allow the input directory to be passed in dynamically 
then the amount of state/directories it tracks/when to do polling/etc.. becomes 
much much harder and requires a lot more specification.

You'll want to really think this through and provide a detailed/considered 
request to help increase the likelihood that someone can pick this up.

> List File - Dynamic Input Directory
> -----------------------------------
>
>                 Key: NIFI-6441
>                 URL: https://issues.apache.org/jira/browse/NIFI-6441
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration Management
>    Affects Versions: 1.9.2
>            Reporter: Venkatesh Kannan
>            Priority: Major
>              Labels: features
>
> Hi,
> I am looking to provide Input Directory value dynamically from a database 
> table to listen for multiple file directories using List File processor. At 
> present there is no incoming flow for List File processor. Is it possible to 
> provide directory path dynamically ?
> I want Nifi to keep track of the files in the directory as in the List File 
> processor currently. I just want to give the directory path to the List File 
> processor, from there I need what's present currently.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to