[ 
https://issues.apache.org/jira/browse/NIFI-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095561#comment-17095561
 ] 

Brandon Rhys DeVries commented on NIFI-1675:
--------------------------------------------

Upon further thought / discussion, I think your original PR approach is best.  
If you want a bigger buffer before going to overflow, just increase the 
back-pressure threshold.  No need to make things more complicated.

> DistributeLoad: add overflow relationship
> -----------------------------------------
>
>                 Key: NIFI-1675
>                 URL: https://issues.apache.org/jira/browse/NIFI-1675
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Brandon Rhys DeVries
>            Priority: Minor
>
> We've had cases where a user would like to have backpressure on a 
> relationship, and if that threshold is reached then divert new incoming 
> FlowFiles down an alternate (perhaps less computationally intensive) path.  
> In thinking about how to do this, DistributeLoad seems like a possibility.  
> We could potentially allow the addition of a (probably single) relationship 
> with a weight of "0", that is never used unless the strategy is "next 
> available", and all other relationships are unavailable.  This would be the 
> "overflow" relationship, providing the desired behavior.  This is somewhat 
> related to the "Interactive Queue Management"[1] that is progressing, but 
> comes from a slightly different direction.  If anyone has any additional 
> thoughts, pros / cons, etc... please feel free to chime in.
> \[1\] 
> https://cwiki.apache.org/confluence/display/NIFI/Interactive+Queue+Management



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to