Mark Payne created NIFI-12308:
---------------------------------
Summary: Create Python Processors' environment in background
Key: NIFI-12308
URL: https://issues.apache.org/jira/browse/NIFI-12308
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: Mark Payne
Assignee: Mark Payne
Fix For: 2.0.0
When a Python processor is added to the canvas, we create a new Python
environment for it as part of the Processor creation. This typically takes on
the order of 4-5 seconds but can take a bit longer. Generally, this isn't a
huge concern. However, when adding a flow from registry or from a snapshot
.json file, it can result in very long delays. We should instead move the
environment creation to a background thread and make the Processor invalid
until it's finished, in much the same way that we do with 3rd party dependency
downloads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)