Created on 05-11-2018 10:53 AM - edited 08-18-2019 12:39 AM
You can use Replace text processor with Replacement Strategy as prepend and keep your custom header in Replacement value property value. if your file size more than 1 MB then you need to change the Maximum Buffer Size according to your flow file size.
With this configs each flowfile will have custom header line added as first line of the flowfile and all the content will be added from second line.
-
If the Answer helped to resolve your issue, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.