Mark Payne created NIFI-5464:
--------------------------------
Summary: Local Ports are able to be started without incoming
connections, then use a lot of CPU
Key: NIFI-5464
URL: https://issues.apache.org/jira/browse/NIFI-5464
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Mark Payne
Currently, validation of a LocalPort simply checks that it has an outgoing
connection. This means that it's possible to create an outgoing connection for
a port but not have any incoming connections. When this happens, if the Port is
started, the framework determines that it is a "source component" because it
has no incoming connections. As such, it is never yielded via the "bored yield
duration". This results in high CPU usage.
The fix in this case, I believe, is to address the validation. We should not
allow a Local Port to be enabled if it has no incoming connections.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)