Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am developing an input component with Talend Component Kit. This component reads data from an REST API.
Now it happens that the data from the API are structured and do not fit into a flat schema. I could read the data by having the component 2 times in my job, each time reading a different level in the structure. But this means reading from the API two times.
My idea was to read the data only once and let the component produce two outputs.
Is this possible somehow?
I found the input component, which seems to have only the possibility for one output.
The processor looked promising to me, but this one seems to need at least one input row, which I do not have in this case.
Best regards
Schrauber
@Maik Opitz , I am not a component developer, just give you one idea from job design view, link your input component to a tReplicate component that replicate the input row many times as needed, so that you just call the API one time.
Regards
Shong
Thanks for the answer. But this will not work, because I need two complete different ouput schema.
@Maik Opitz you can try with tmap and create two output and define two different output schema in tmap