gharris1727 opened a new pull request, #14277: URL: https://github.com/apache/kafka/pull/14277
The ServletContextHandlers which are initialized and started in `initializeResources()` are never stopped, causing Jetty's Server#destroy() call to always throw an exception. When another exception is thrown, that exception is always shadowed by the exception from the destroy() call, making it harder to diagnose failures. Additionally, destroy() should be called on the happy-path, in order to perform cleanup of the jetty resources. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
