[
https://issues.apache.org/jira/browse/NIFI-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167504#comment-15167504
]
James Wing commented on NIFI-1516:
----------------------------------
I took a look at the code in the pull request, and I have a couple comments.
First, I believe the JSON Document attribute should be required.
Second, your design requires that users provide a Hash Key, optional Range Key,
and the name of an attribute to hold the FlowFile content as a JSON document.
The resulting DynamoDB Items must always look something like this:
{code}
{
"sampleHashKey": "record1",
"sampleRangeKey": "123"
"sampleDocKey": { ...FlowFile content JSON... }
}
{code}
This works, but it seems like a restrictive data model to me. Did you consider
putting the entire FlowFile document to the DynamoDB item? That would more
flexibility, although it leaves it up to the user to make sure the Hash Key and
Range Key are correct in their FlowFile.
> Provide AWS DynamoDB Delete/Put/Get processors
> ----------------------------------------------
>
> Key: NIFI-1516
> URL: https://issues.apache.org/jira/browse/NIFI-1516
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Affects Versions: 0.5.0
> Environment: all
> Reporter: Mans Singh
> Assignee: Mans Singh
> Priority: Minor
> Labels: aws, delete,, dynamodb,, get,, insert,, put,
> Fix For: 0.6.0
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> Implement AWS DynamoDB Get/Put/Delete processors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)