Mark Payne created NIFI-14654:
---------------------------------

             Summary: When Stateless group is stopped, processors may be 
stopped before session commit callbacks are called
                 Key: NIFI-14654
                 URL: https://issues.apache.org/jira/browse/NIFI-14654
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


If a Processor commits a session using {{ProcessSession.commitAsync(Runnable, 
Consumer<Throwable>)}} but the Stateless Process Group is stopped, sometimes 
the Processor's @OnStopped method is called before the Runnable or 
Consumer<Throwable> is called. This can cause the @OnStopped method to behave 
incorrectly, effectively running while the Processor is still being triggered.



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

Reply via email to