Mark Payne created NIFI-7952:
--------------------------------

             Summary: 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


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