nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (JIRA)" <>
Subject [jira] [Commented] (NIFI-531) Add UpdateContent processor
Date Tue, 21 Apr 2015 23:50:59 GMT


Mark Payne commented on NIFI-531:


Have you looked at ReplaceText? You can set the "Regular Expression" property to ".*" and
then put whatever replacement value you want. There is actually an optimization in the Processor
for this - if the regex is set to ".*" it doesn't even read the content. It just replaces
the content with whatever value you set.


> Add UpdateContent processor
> ---------------------------
>                 Key: NIFI-531
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Joseph Gresock
> A simple and powerful processor would be one that can replace the content of a flow file
with an evaluated EL expression.  This could be coupled with processors that take specific
document formats as input (e.g., PutSolr from NIFI-461), which could easily be constructed
using one or more flow file attributes.
> I believe the only way built into Nifi that lets you achieve this is to specify a header
file in MergeContent, whose contents is an EL expression.  This would simplify the process.
> Pull request forthcoming this week.

This message was sent by Atlassian JIRA

View raw message