[
https://issues.apache.org/jira/browse/NIFI-7183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043044#comment-17043044
]
ASF subversion and git services commented on NIFI-7183:
-------------------------------------------------------
Commit 9a8a551e03753c8bd9b256613572e42b7d831e8f in nifi's branch
refs/heads/master from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9a8a551 ]
NIFI-7183 - This closes #4073. Improve ReplaceText when removing FF's content
Signed-off-by: Joe Witt <[email protected]>
> ReplaceText improvement when removing flowfile content
> ------------------------------------------------------
>
> Key: NIFI-7183
> URL: https://issues.apache.org/jira/browse/NIFI-7183
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Quite often I see users using ReplaceText processor to remove the content of
> the flow files. However, quite frequently the defaults values are kept in
> place except the "Replacement Value" which is set to an empty string. This is
> a bit inefficient because it'll still do the regex evaluation. It'd be more
> efficient if changing the "Replacement Strategy" to "Always Replace".
> We could make the processor a bit more clever and do this automatically. This
> will increase performances and reduce CPU consumption.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)