exceptionfactory opened a new pull request, #6465: URL: https://github.com/apache/nifi/pull/6465
# Summary [NIFI-10569](https://issues.apache.org/jira/browse/NIFI-10569) Adds a new `Maximum Threads` property to the `HandleHttpRequest` Processor, enabling configuration of the internal Jetty server thread pool. The new property follows the pattern of the property added for `ListenHTTP` in [NIFI-8263](https://issues.apache.org/jira/browse/NIFI-8263). The default value is `200`, which aligns with the current internal default that Jetty uses in absence of a specific number. The Jetty Thread Pool sets a minimum of 8 threads, so the allowable range for the value is between 8 and 1000, matching `ListenHTTP`. The introduction of a configured Thread Pool also provides the opportunity to name threads using the Processor name and Processor identifier. Additional changes include a simple unit test class to set minimum required properties and start the Processor without handling any requests. The integration test method `testCleanup` does not appear to run in reliable way, and more recent integration test methods verify similar capabilities, so changes include removing the `testCleanup` method. # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue Tracking - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created ### Pull Request Tracking - [X] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000` - [X] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` ### Pull Request Formatting - [X] Pull Request based on current revision of the `main` branch - [X] Pull Request refers to a feature branch with one commit containing changes # Verification Please indicate the verification steps performed prior to pull request creation. ### Build - [X] Build completed using `mvn clean install -P contrib-check` - [X] JDK 8 - [ ] JDK 11 - [ ] JDK 17 ### Licensing - [ ] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html) - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` files ### Documentation - [ ] Documentation formatting appears as expected in rendered files -- 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]
