mirror of https://github.com/apache/nifi.git
NIFI-1684 added penalization on failure
Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
parent
8d960f5243
commit
1292581ec8
|
@ -306,7 +306,7 @@ public class PutKafka extends AbstractProcessor {
|
|||
session.transfer(flowFile, REL_SUCCESS);
|
||||
} else {
|
||||
flowFile = session.putAllAttributes(flowFile, this.buildFailedFlowFileAttributes(failedSegmentsRef.get(), messageContext));
|
||||
session.transfer(flowFile, REL_FAILURE);
|
||||
session.transfer(session.penalize(flowFile), REL_FAILURE);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue