You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Hunyadi (Jira)" <ji...@apache.org> on 2020/05/13 13:17:00 UTC
[jira] [Created] (MINIFICPP-1222) Rework engine queue for
ExecutePythonProcessor
Adam Hunyadi created MINIFICPP-1222:
---------------------------------------
Summary: Rework engine queue for ExecutePythonProcessor
Key: MINIFICPP-1222
URL: https://issues.apache.org/jira/browse/MINIFICPP-1222
Project: Apache NiFi MiNiFi C++
Issue Type: Improvement
Reporter: Adam Hunyadi
Assignee: Adam Hunyadi
Fix For: 1.0.0
*Background:*
The ExecutePythonProcessor is expected to have a limit on the maximal number of concurrent tasks it can run. This {{{color:#403294}{{max_concurrent_tasks}}{color}}} number is currently handled incorrectly, and the processor is able to run any number of tasks at the same time, but only {{{color:#403294}{{max_concurrent_tasks}}{color}}} script-engine is reused.
*Proposal*:
**We should use {{{color:#403294}{{max_concurrent_tasks}}{color}}} as the size of script-engine pool for the processor and always use engines from this pool, wait otherwise.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)