Jasper Knulst created NIFI-9982:
-----------------------------------

             Summary: Enrich SplitXML processor
                 Key: NIFI-9982
                 URL: https://issues.apache.org/jira/browse/NIFI-9982
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.16.1
            Reporter: Jasper Knulst
             Fix For: 2.0.0


The Nifi SplitXML processor can currently split an XML like:

(starting from this base XML)

<a>
<b></b>
<b></b>
..
..
<b></b>
<b></b>
</a>

in as many child XML's as there are b-elements, like:

<b></b>
.. (new FF)
<b></b>
..
..
.. (new FF)
<b></b>

What you want though is extra options to say: 

I want child XML's with x-number of b-elements, or even give me x equally sized 
outbound flowfiles out of the input XML, maintaining the XML envelope:

<a>
<b></b>
<b></b>
</a>
.. ( new FF)
<a>
<b></b>
<b></b>
</a>
.. ( new FF)
..
..
<a>
<b></b>
<b></b>
</a>

The splits can subsequently be load balanced to all Nifi nodes.








--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to