[
https://issues.apache.org/jira/browse/NIFI-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711560#comment-14711560
]
Joe Skora commented on NIFI-641:
--------------------------------
In the interest of eliminating the hard-coded batch size, {{session.get(100)}},
in this processor, I see a couple alternatives.
# Add a batch size parameter so the user can control batching.
# Remove the batch size parameter in the {{session.get()}} call and add the
{{@SupportsBatching}} annotation so the framework can control batching.
*I think #2 makes the most sense considering ^\[1]^ but I'd like to hear any
thoughts on that before changing it.*
Thanks,
Joe
----
^\[1]^ Scanning the source tree shows 533 calls to session.get().
* 433 have no parameter (batchsize=1)
* 75 have a hard-coded batch size
* 25 have a configurable batch size
> create delete attributes processor
> ----------------------------------
>
> Key: NIFI-641
> URL: https://issues.apache.org/jira/browse/NIFI-641
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Affects Versions: 0.1.0
> Reporter: Ben Icore
> Assignee: Joe Skora
> Priority: Minor
> Fix For: 0.4.0
>
>
> create a processor for the deletion of attriubutes. There is currently no
> way to remove attriubtes from a flowfile, the best a DFM can is blank out an
> attribute, but that still allows the attriubute to be passed on
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)