Mark Payne created NIFI-14434:
---------------------------------
Summary: Components' @OnRemoved methods are called any time the
component is reloaded
Key: NIFI-14434
URL: https://issues.apache.org/jira/browse/NIFI-14434
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Mark Payne
Any time that the StandardReloadComponent is called to reload a component, such
as a Processor, it calls any method annotated with {{{}@OnRemoved{}}}. This
should be reserved only for when the component is removed from the canvas, not
when it's reloaded. The reload happens any time that the version of the
component is changed or potentially when the flow is reloaded, etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)