Mike,

This might be a good case for LookupRecord [1] with a LookupService.

There appears to already be a SimpleCsvFileLookupService [2]. I think
that implementation is taking two columns out of the CSV and making a
map from them and then using that for the lookup. Not sure if that
works for what you are trying to do, but you could potentially
implement a custom LookupService if necessary.

-Bryan

[1] 
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.3.0/org.apache.nifi.processors.standard.LookupRecord/index.html
[2] 
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-lookup-services-nar/1.3.0/org.apache.nifi.lookup.SimpleCsvFileLookupService/index.html


On Tue, Aug 15, 2017 at 2:52 PM, Mike Thomsen <[email protected]> wrote:
> I have a client that needs to join a data stream from Mongo with the
> contents of a CSV file based on a common attribute. Would MergeContent
> suffice or is there a better route?
>
> Thanks,
>
> Mike

Reply via email to