I agree with Bryan. There is also ScriptedLookupService [1] which should make it pretty easy.
[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-scripting-nar/1.3.0/org.apache.nifi.lookup.script.ScriptedLookupService/index.html Andy LoPresto [email protected] [email protected] PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Aug 15, 2017, at 3:11 PM, Bryan Bende <[email protected]> wrote: > > 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
