[
https://issues.apache.org/jira/browse/NIFI-6928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-6928:
---------------------------------
Status: Patch Available (was: Open)
> [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
> Assignee: Pierre Villard
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)