You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2019/12/06 05:45:00 UTC

[jira] [Updated] (NIFI-6928) [RestLookupService] add connect / readtimeout feature

     [ https://issues.apache.org/jira/browse/NIFI-6928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard updated NIFI-6928:
---------------------------------
    Component/s:     (was: Core Framework)
                 Extensions

> [RestLookupService] add connect / readtimeout feature
> -----------------------------------------------------
>
>                 Key: NIFI-6928
>                 URL: https://issues.apache.org/jira/browse/NIFI-6928
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.9.2
>            Reporter: Etienne Jouvin
>            Priority: Minor
>
> When using the RestlookupService, I could not find a way to specify any timeout configuration, as we can do in InvokeHTTP.
>  
> I wanted to use this lookup service in order to complete my record with datas given from external REST Service. But this service may takes time, almost 20 seconds.
>  
> The LookupService fires an exception because of read timeout.
>  
> I try to do a simple trick using InvokeHTTP, put the result in a DistributedMapCache and then try to use a LookupService to retrieve the returned record and inject it in the source. But does not work.
>  
>  
> So my only solution for now is to work with the Merge and then using JoltTransformation.
>  
> Regards
>  
> Etienne Jouvin



--
This message was sent by Atlassian Jira
(v8.3.4#803005)