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

Joe Witt commented on NIFI-7400:
--------------------------------

[~johancr] If I understand your ask correctly you would like a processor which 
distributes data based on an 'overflow' behavior such that if backpressure 
exists on one connection it would route to the overflow relationship.

For this I'd recommend updating the DistributeLoad processor to support an 
'overflow' distribution strategy whereby data will always be routed to the 
lowest numbered relationship and if not available (due to back pressure) it 
would route to the next available higher numbered relationship.  It would mark 
the processor as invalid if there is only one relationship.  To use 'overflow' 
it would require at least a value of 2 for number of relationships.

> Processor to route Flowfile when relationship is unavailable
> ------------------------------------------------------------
>
>                 Key: NIFI-7400
>                 URL: https://issues.apache.org/jira/browse/NIFI-7400
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>    Affects Versions: 1.12.0
>            Reporter: Johan Cronsioe
>            Priority: Trivial
>              Labels: Processor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When a relationship becomes unavailable, it can be useful to route incoming 
> Flowfiles to an alternative relationship. As soon as the primary relationship 
> is available, Flowfiles will be routed to that relationship.
> One scenario is when you want the most recent data to be sent to a 
> relationship, but if when that relationship is not available, the incoming 
> data is sent to an alternative relationship to be stored on disk until it can 
> be processed.



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

Reply via email to