You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2023/04/03 06:42:00 UTC

[jira] [Created] (MINIFICPP-2088) InvokeHTTP should check whether it needs to run before retrieving the HttpClient

Marton Szasz created MINIFICPP-2088:
---------------------------------------

             Summary: InvokeHTTP should check whether it needs to run before retrieving the HttpClient
                 Key: MINIFICPP-2088
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2088
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Marton Szasz


InvokeHTTP has setTriggerWhenEmpty=true to support GET requests with no incoming flow files. But it creates/retrieves the http client even if it's triggered as POST with no incoming flow files. We should keep the check as lightweight as possible, and add a bored yield if it didn't need to run.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)