Member since
09-29-2016
6
Posts
0
Kudos Received
0
Solutions
07-12-2017
03:12 PM
Thank you very much Bryan! Now, I am able to lookup the attribute and get the value for that key. But, I am still confused on how the "Result RecordPath" works. This is how I have configured my Lookup Service: But, when I am done with the lookup and check out DataProvenance, I do not see any field or attribute called "token". The value that is returned by the lookup now goes into a new attribute "key" (which now has a value "def". I was intending the value to go to "token" attribute. How do I do that?
I have also attached my process flow XML (test-lookupattribute.xml). Can you point me to any other documentation (if any) other than the Usage documents to figure out exactly how to use the LookupXXXXService processors? Thanks! VJ
... View more
07-11-2017
07:53 PM
I am trying to create SimpleKeyValueLookupService. The usage document says: "the coordinates that are passed to the lookup must contain the key 'key'." What does that mean? Does it mean one of the properties created should have the name "key"? or can it have any name? Can I dynamically add/change properties to this LookupService or is it static? Thanks!
... View more
Labels:
- Labels:
-
Apache NiFi
09-30-2016
06:08 PM
That worked great! Thank you very much! My collection now has over 1300 records as expected.
... View more
09-30-2016
02:34 PM
Yes, the query returns over 1300 rows. The ConverttoJSON writes both to MongoDB and to a file (using PutFile). The file gets all the rows - one json document per line. But, MongoDB gets only one record which is the first one.
... View more
09-29-2016
11:13 PM
testingsqlflow.jpgI have a query that I execute using ExecuteSQL processor that returns 900 rows of data. It Output is in AVRO format which I convert to JSON (one JSON document per row of data) using ConvertAVROtoJSON processor. The output is then sent to a PutMongo processor. But, only the first row from this processor is written to MongoDB. The others are not written and I get get no errors. Any suggestion on how to make sure all rows are written into MongoDB? I have attached a diagram of the Nifi flow. Thanks! VJ
... View more
Labels:
- Labels:
-
Apache NiFi