Thanks James. I am looking to iterate through the table so that it takes
hash key values one by one. Do I achieve it through the expression
language? if I write an script to do that, how do I pass it to my processor?

On Thu, Oct 13, 2016 at 1:42 PM, James Wing <> wrote:

> Rai,
> The GetDynamoDB processor requires a hash key value to look up an item in
> the table.  The default setting is an Expression Language statement that
> reads the hash key value from a flowfile attribute,
> dynamodb.item.hash.key.value.  But this is not required.  You can change it
> to any attribute expression ${my.hash.key}, or even hard-code a single key
> "item123" if you wish.
> Does that help?
> Thanks,
> James
> On Thu, Oct 13, 2016 at 12:17 PM, Gop Krr <> wrote:
>> Hi All,
>> I have been trying to use get and load processor for the dynamodb and I
>> am almost there. I am able to run the get processor and I see, data is
>> flowing :)
>> But I see the following error in my nifi-app.log file:
>> 2016-10-13 18:02:38,823 ERROR [Timer-Driven Process Thread-9]
>> GetDynamoDB[id=7d906337-0157-1000-5868-479d0e0e3580]
>> Hash key value '' is required for flow file StandardFlowFileRecord[uuid=44
>> 554c23-1618-47db-b46e-04ffd737748e,claim=StandardContentClaim
>> [resourceClaim=StandardResourceClaim[id=1476381755460-37287,
>> container=default, section=423], offset=0, length=1048576],offset=0,name=
>> 2503473718684086,size=1048576]
>> I understand that, its looking for the Hash Key Value but I am not sure,
>> how do I pass it.  In the setting tab, nifi automatically populates
>> this: ${dynamodb.item.hash.key.value} but looks like this is not the
>> right way to do it. Can I get some guidance on this? Thanks for all the
>> help.
>> Best,
>> Rai

Reply via email to