You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/06/19 18:24:52 UTC

[GitHub] [nifi] aramatev edited a comment on issue #3538: NIFI-6385 Add option to penalize waiting FlowFiles

aramatev edited a comment on issue #3538: NIFI-6385 Add option to penalize waiting FlowFiles
URL: https://github.com/apache/nifi/pull/3538#issuecomment-503675574
 
 
   ![image](https://user-images.githubusercontent.com/14179945/59790146-3e0beb00-929d-11e9-8724-1ff9dc97444c.png)
   
   The Jira should really state that some prioritizers incorrectly look at the front of the queue. 
   When using FirstInFirstOutPrioritizer, the Wait processor is able to look at the entirety of the queue and process the signal. 
   But for all other prioritizers, for some reason only the first flowfile in the queue is evaluated against the current signal. 
   
   So its not that all prioritizers are broken, FIFO works fine, the others dont. And FIFO works w/o penalizing the flowfile in the front. This solution actually seems a bit of a hack, since it doesnt match the signal and its sent to the back of the queue. 
   I'd be interested to know why the entire queue is not available to all priortizers but only FIFO sees the entire queue and can process any signal that matches any flowfiles in its queue. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services