mirror of https://github.com/apache/nifi.git
e9577ded29
Fixed stateless group startup around Controller Services by changing the startup logic in two ways. First, we enable Controller Services before we create the Stateless Flow. Secondly, we do not bother enabling the ephemeral Controller Services that are created during the Stateless Flow creation/synchronization. This ensures that if Processors make use of a Controller Service during its @OnScheduled method (which is part of the Stateless Flow initialization process) that the Controller Service is Enabled. It also avoids calling @OnEnabled methods of Controller Services that will never actually be used, as Processors make use of the existing Controller Services when running within standard NiFi . Signed-off-by: David Handermann <exceptionfactory@apache.org> |
||
---|---|---|
.. | ||
nifi-stateless-api | ||
nifi-stateless-assembly | ||
nifi-stateless-bootstrap | ||
nifi-stateless-bundle | ||
nifi-stateless-resources | ||
pom.xml |