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/09/12 17:24:00 UTC
[jira] [Updated] (MINIFICPP-2088) InvokeHTTP should check whether it needs to run before retrieving the HttpClient
[ https://issues.apache.org/jira/browse/MINIFICPP-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Szasz updated MINIFICPP-2088:
------------------------------------
Fix Version/s: 0.16.0
> 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
> Assignee: Ferenc Gerlits
> Priority: Minor
> Fix For: 0.16.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)