Log Message for ReplaceText Over Buffer Size
Adds a log message when ReplaceText sends a flowfile to the failure relationship because
it is larger than the max buffer size.
This closes
@@ -315,6 +315,7 @@ public class ReplaceText extends AbstractProcessor {
if (evaluateMode.equalsIgnoreCase(ENTIRE_TEXT)) {
if (flowFile.getSize() > maxBufferSize && replacementStrategyExecutor.isAllDataBufferedForEntireText()) {
+ logger.warn("Transferred {} to 'faliure' because it was larger than the buffer size");
session.transfer(flowFile, REL_FAILURE);
return;
}
