nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grande <apere...@gmail.com>
Subject Re: Routing Files Based on Dynamic Pattern Matching
Date Mon, 19 Feb 2018 21:48:20 GMT
Maybe take a look at one of the ScanContent/Attribute processors? It allows
to map in a reloadable external file.

Or, better yet, one of the LookupService variants, which is more generic.

HTH,
Andrew

On Mon, Feb 19, 2018, 3:10 PM Shawn Weeks <sweeks@weeksconsulting.us> wrote:

> Hi, I’m looking for some ideas on how to handle a workflow I’m developing.
> I have NiFi monitoring a drop off location where files are delivered. Files
> from this drop off location need to be routed to various target directories
> based on a series of file name patterns. Currently I have a custom
> processor I developed that queries a database table comparing the incoming
> file name against known file name patterns stored as regular expressions
> and attaches those attributes to the flow file. I feel like there is a
> better way to do this but I’m still fairly new to NiFi.
>
>
>
> Thanks
>
> Shawn Weeks
>

Mime
View raw message