Ferenc Gerlits created MINIFICPP-1487:
-----------------------------------------
Summary: Better handling of a penalized-only input queue
Key: MINIFICPP-1487
URL: https://issues.apache.org/jira/browse/MINIFICPP-1487
Project: Apache NiFi MiNiFi C++
Issue Type: Improvement
Reporter: Ferenc Gerlits
Assignee: Ferenc Gerlits
If the input queue of an Event Driven processor (is not empty but) contains
penalized flow files only, then the processor will be woken up repeatedly in a
tight loop, but it will have nothing to do, as it is not able to pick up any
flow files. This results in 100% CPU usage (of one core).
One way to avoid this would be if all processors yielded when they have nothing
to do. Some processors do this, but not all. It would be better to solve this
problem on the framework level rather than hope that processors will work
around it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)