You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/07/08 15:34:00 UTC

[jira] [Created] (NIFI-8770) HandleHttpRequest fails to empty queue on shutdown

David Handermann created NIFI-8770:
--------------------------------------

             Summary: HandleHttpRequest fails to empty queue on shutdown
                 Key: NIFI-8770
                 URL: https://issues.apache.org/jira/browse/NIFI-8770
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.13.2
            Reporter: David Handermann
            Assignee: David Handermann


The {{HandleHttpRequest}} shutdown process includes attempts to clear the queue of pending requests and send HTTP 503 responses.  The current implementation polls the queue with a timeout of two seconds and attempts to send responses to retrieved requests.  Uncaught RuntimeExceptions can result in failing the empty the queue, resulting in unexpected request processing when {{HandleHttpRequest}} is rescheduled to run.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)