tCollector
Feeds the parallel execution processes with the threads generated by tPartitioner.
Note that Talend Studio also enables the automatic implementation of parallelization across a Job without use of the parallelization components and Talend recommends using that approach. For further information, see Enable parallelization of data flows. However, if you need to understand how to use these specific parallelization components, bear in mind that the parallelization components work closely with each other to accomplish parallel execution on given processes: the tPartitioner component dispatches the input records into a specific number of threads; the tCollector component sends these threads to its following components for parallel execution; the tDepartitioner component regroups the outputs of the processed parallel threads; the tRecollector component captures the output of a given tDepartitioner component and sends the captured data to the next component.
This component receives parallel threads from tPartitioner and sends those threads to the following components for parallel execution.
This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see Installing features using the Feature Manager.
tCollector Standard properties
These properties are used to configure tCollector running in the Standard Job framework.
The Standard tCollector component belongs to the Orchestration family.
This component is available in Talend products with Big Data, Talend Data Management Platform, Talend Data Services Platform, Talend MDM Platform and Talend Data Fabric.
Basic settings
Schema and Edit Schema |
A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
Advanced settings
tStatCatcher Statistics |
Select this check box to collect the log data at the component level. |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. NB_LINE: the number of rows processed. This is an After variable and it returns an integer. THREAD_ID: the ID of the thread this component is processing. This is available as a Flow variable. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
Usage rule |
This component should be put after tPartitioner with the Start link connecting each other. This component starts the parallel processes, in a Job, that you design using other components. |
Connections |
Outgoing links (from this component to another): Row: Main.
Incoming links (from one component to this one): Trigger: Start.
For further information regarding connections, see Using connections in a Job. |