[
https://issues.apache.org/jira/browse/NIFI-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558237#comment-16558237
]
ASF GitHub Bot commented on NIFI-5454:
--------------------------------------
Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/2917
+1, merging to master, thanks @mattyb149
> Add ability to specify per-flowfile values via DuplicateFlowFile
> ----------------------------------------------------------------
>
> Key: NIFI-5454
> URL: https://issues.apache.org/jira/browse/NIFI-5454
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Minor
>
> DuplicateFlowFile is currently useful mostly for load testing, as it
> generates a fixed number of flow files as copies of the incoming flow file.
> However there is no way to distinguish the flow files from each other, so for
> non-test purposes, it would be nice to have a way to treat copies
> differently, either for routing purposes or to access other values, such as
> attributes with delimited fields, etc.
> This Jira proposes to add the following improvements to DuplicateFlowFile:
> - add a "copy.index" attribute to the outgoing flow files, setting the
> attribute to zero (0) on the original flow file, and incrementally setting it
> on the copies.
> - Add support for Expression Language to the Number of Copies property
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)