[
https://issues.apache.org/jira/browse/NIFI-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122827#comment-15122827
]
ASF GitHub Bot commented on NIFI-1423:
--------------------------------------
Github user JPercivall commented on the pull request:
https://github.com/apache/nifi/pull/183#issuecomment-176540108
When MockProcessSession.rollback(boolean)[1] is called it is, the boolean
is telling the session whether or not the flowfiles should be penalized. In the
event the boolean is true if the session shouldn't it clear the penalized list
then add all the flowfiles to the list?
[1]
https://github.com/apache/nifi/blob/fd35b8ffd7d4a66ef149c1bd1341dfee3ede80c7/nifi-mock/src/main/java/org/apache/nifi/util/MockProcessSession.java#L522-L522
> InvokeHTTP ability to penalize on No Retry
> ------------------------------------------
>
> Key: NIFI-1423
> URL: https://issues.apache.org/jira/browse/NIFI-1423
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 0.4.1
> Reporter: Louis-Etienne Dorval
> Priority: Minor
>
> InvokeHTTP currently penalize FlowFiles on {{Failure}} (Exception) and
> {{Retry}} (5xx) but not on {{No Retry}} (1xx, 3xx, 4xx)
> As there is probably a reason for not penalizing it, there could be a way to
> opt-in for that behavior rather than forcing it.
> My usecase is discussed a bit more in the mailing list:
> http://mail-archives.apache.org/mod_mbox/nifi-users/201512.mbox/%3CCADSFSqHzCjxNNzJdbBAPS2x_iALVWL6zwR%2B8_Ecg%3DvUqpw9EgQ%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)