You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2026/09/22 15:27:00 UTC

[jira] [Created] (NIFI-16378) Connector fails to drain if flow contains a disabled Processor

Mark Payne created NIFI-16378:
---------------------------------

             Summary: Connector fails to drain if flow contains a disabled Processor
                 Key: NIFI-16378
                 URL: https://issues.apache.org/jira/browse/NIFI-16378
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


If a Connector has a disabled processor, the drain never completes. This appears to be a bug in the Processor Lifecycle code:
{code:java}
public CompletableFuture<Void> stop() {
    return processScheduler.stopProcessor(processorNode, ProcessorStopLifecycleMethods.TRIGGER_ALL);
}{code}

This differs from the ProcessGroup Lifecycle code, which already skips any Processor that is stopped or disabled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)