[
https://issues.apache.org/jira/browse/NIFI-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne resolved NIFI-7952.
------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
> 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
> Fix For: 1.13.0
>
> Time Spent: 40m
> 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)