[ 
https://issues.apache.org/jira/browse/NIFI-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221829#comment-17221829
 ] 

ASF subversion and git services commented on NIFI-7952:
-------------------------------------------------------

Commit 74968991d5034c96c481386f76929e9a49cab8a1 in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7496899 ]

NIFI-7952: Allow RecordPath to be used for specifying the Insertion Operation 
and the data to be inserted into Kudu


> Allow PutKudu to take RecordPath for determining Operation Type and data to 
> insert
> ----------------------------------------------------------------------------------
>
>                 Key: NIFI-7952
>                 URL: https://issues.apache.org/jira/browse/NIFI-7952
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> PutKudu is Record oriented. But the Operation Type is specified as a property 
> that can be configured using EL, which means that all operations for a given 
> FlowFile must have the same Operation Type - it cannot vary per Record.
> It would be helpful to allow users to use RecordPath to configure the 
> operation type and the data to insert. For example, we could have a record 
> like:
> {code}
> {
>   "data": {
>     "name": "John Doe",
>      "id": 45
>   },
>   "metadata": {
>     "operation": "insert"
>   }
> }
> {code}
> And then configure PutKudu to use a RecordPath of `/metadata/operation` for 
> dictating the Operation Type and `/data` for dictating the data to insert.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to