Pablo, The GetDynamoDB processor maps the JSON document from a single DynamoDB table attribute to the NiFi flowfile content. There is currently no built-in way to read all of the attributes into the flowfile content as JSON. I recommend filing a JIRA ticket to enable this use case (see https://issues.apache.org/jira/browse/NIFI) if you are interested.
Thanks, James On Mon, Nov 21, 2016 at 8:04 AM, Pablo Lopez <[email protected]> wrote: > Hi, > > I'm using the GetDynamoDB processor and it works fine. However, whenever I > get a record from DynamoDB it seems that in the processor we can only > retrieve one field at a time DynamoDB. The field to read is specified in > attribute "Json Document attribute". This can only point to only one field. > > Is there a way to retrieve the value of all the fields in the record > rather than only one? > I can work around this by using multiple processors and each one read a > different field, but I was wondering if there is a better way to do this. > > Thanks, > Pablo. >
