Hey Alan,

The FlowFile Queue uses an 'implicit prioritizer' that always pushes penalized 
FlowFiles to the bottom of
the queue. If you are not seeing that behavior, then there may be a bug of some 
sort. If you right-click on
the connection and List Queue, do you see any FlowFiles that are shown with 
Penalized = Y that are not
at the bottom of the queue?

Thanks
-Mark


> On Jan 3, 2017, at 4:04 PM, Alan Jackoway <[email protected]> wrote:
> 
> Hello,
> 
> I am looking for a good way to move penalized flow files to the end of a 
> queue so they don't block other files waiting for a processor. I want to 
> handle the case where the penalization happens due to an uncaught error, so I 
> can't modify the priority attribute before penalizing.
> 
> My first thought was to use FirstInFirstOutPrioritizer, but I tried this, and 
> it looked like penalized flow files were returned to the front of the queue 
> rather than being put at the back after penalization.
> 
> For now I am using NewestFlowFileFirstPrioritizer, but what I really want is 
> the oldest flow file that has not been penalized to go first. Is this 
> possible?
> 
> Thanks,
> Alan

Reply via email to