Hi,
I've noticed that if the every FlowFile in a queue is penalized, I see constant invocations on the processor's onTrigger() method, despite the queue being "effectively" empty. This seems to cause millions of invocations of the processor that don't result in useful work. Am I understanding the situation correctly? Has anyone ever considered changing this behaviour so that we don't have all these calls to onTrigger when the queue only contains penalized flow files? Of course, we can update our Processors to just yield() when they get called with a null flow file, but this seems like a good thing for the engine to handle automatically. _________________________________________________________________________________________________________ [1496944291439_image001.png] Oleksi Derkatch | Software Engineer 7 Father David Bauer Drive, Suite 201 | Waterloo, ON, Canada, N2L 0A2 +1 519 594 0940 ext.212 | +1 844 527 6748 l www.vitalimages.com<http://www.vitalimages.com/> _________________________________________________________________________________________________________ Notice - Confidential Information The information in this communication and any attachments is strictly confidential and intended only for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient, any dissemination, distribution, copying or other use of the information contained in this communication and/or any attachment is strictly prohibited. If you have received this communication in error, please first notify the sender immediately and then delete this communication from all data storage devices and destroy all hard copies.
