ijokarumawak commented on issue #3538: NIFI-6385 Add option to penalize waiting 
FlowFiles
URL: https://github.com/apache/nifi/pull/3538#issuecomment-503712829
 
 
   @aramatev Glad to know we are on the same page.
   
   It will work with any Prioritizer as long as `Penalty Duration > Run 
Schedule` and a thread is available. One caveat hear, NiFi has a thread pool 
for running each Processors (Maximum Timer Driven Thread Count, 10 by default). 
Wait processor may have longer interval than configured 'Run Schedule' if it 
has to wait for acquiring a thread.
   
   I'm wondering what is the purpose of using Prioritizers other than FIFO for 
Wait processor in your use case. Would you elaborate some situations that FIFO 
alone won't work?
   You could use FIFO at 'wait' relationship without penalizing if you'd like 
to release FlowFiles as fast as its signal is notified. Then use 
PriorityPrioritizer at the 'success' relationship to control processing order 
at the next processor.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to