You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Wicks (JIRA)" <ji...@apache.org> on 2019/06/19 16:01:00 UTC

[jira] [Created] (NIFI-6386) Allow Processors to Process Terminate Events

Peter Wicks created NIFI-6386:
---------------------------------

             Summary: Allow Processors to Process Terminate Events
                 Key: NIFI-6386
                 URL: https://issues.apache.org/jira/browse/NIFI-6386
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.9.2
            Reporter: Peter Wicks


When a processor is Terminated, it's thread is interrupted. But the processor is never given a chance to gracefully terminate. Sometimes this means that external connections, such as database or external process calls, will not allow the processor to terminate, and it hangs.

Some processors, which need it, should be given a short period of time during which to kill internal connections, such as calling `statement.cancel()` for JDBC calls.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)