Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Before I spend additional days of trial and error a short question.
I created a small Input component which does only a System.out from the provided Input-Parameters. The component has two parameter Input fields “value1” and “value2”. It has a tFlowToIterate as Input and the FlowToIterate is filled by a normal CSV Input. Input-Parameter Field “Value1” contains as Value “((String)globalMap.get("row1.Firstname"))” and Input-Parameter Value2 containing “((String)globalMap.get("row1.Lastname"))”. Running the component is ok, but after changing the iteration (green arrow) to parallel will run in some Null-Pointers.
Question, is the whole “Talend Component Kit” threadsafe?
Regards
Martin
Hello Martin,
The current integration uses a single instance of the component per step in the job.
This means, as you experienced, that it is not thread safe.
However this is a bug in the studio integration since in the Cloud (big data environment) we are thread safe.
I will follow up opening an issue in the Studio project to ensure it is fixed in a coming release.
Thanks a lot for reporting it.
Hello Martin,
The current integration uses a single instance of the component per step in the job.
This means, as you experienced, that it is not thread safe.
However this is a bug in the studio integration since in the Cloud (big data environment) we are thread safe.
I will follow up opening an issue in the Studio project to ensure it is fixed in a coming release.
Thanks a lot for reporting it.