Brandon DeVries created NIFI-1675:
-------------------------------------

             Summary: DistributeLoad: add overflow relationship
                 Key: NIFI-1675
                 URL: https://issues.apache.org/jira/browse/NIFI-1675
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Brandon 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
(v6.3.4#6332)

Reply via email to