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 we recommend using that approach. For
further information, see the section describing how to enable parallelization of data flows
of the
Talend Studio User Guide. 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.
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 the Palette of the
Integration
perspective of the Studio only if you have subscribed
to one of the
Talend Platform
solutions or Big Data
solutions.
Basic settings
Schema and Edit |
A schema is a row description, it defines the number of fields to be processed and Click Edit schema to make changes to the schema.
|
Advanced settings
tStatCatcher Statistics |
Select this check box to collect the log data at the component |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the
NB_LINE: the number of rows processed. This is an After
THREAD_ID: the ID of the thread this component is A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
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 |
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 |
Related scenario
For a related scenario, see Scenario: sorting the customer data of large size in parallel.