Streaming Rest API call with Talend

One Star

Streaming Rest API call with Talend



I'm testing a Streaming rest service using talend tRest component. My sample request payload will be like this


"id" : "someId",

"records":[ {   "a1":"data1"},{ "a1":"data2"}]


I want to know, is there any talend rest client component which support streaming API call. it seems tRest component waits till all the array which is sent over payload is processing to write the response to the response connection. I also tried with tRestClient, but there I could not Map the array of objects using tXmlMap. that means

i tried to generate 

"records":[ { "a1":"data1"},{ "a1":"data2"}]

but actually got:

"records":"[ { "a1":"data1" }, { "a1":"data2"}]


can anyone give any solution? Thank you


Re: Streaming Rest API call with Talend


Could you please post your job design screenshots into forum which will be helpful for to understand your current situation?

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.



Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.