[
https://issues.apache.org/jira/browse/NIFI-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-8770:
-----------------------------------
Affects Version/s: 1.14.0
Status: Patch Available (was: Open)
> 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, 1.14.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)