Skip to content

About the sample jobs

This document has been machine translated.

When developing a data loader using Talend, we recommend importing the sample jobs provided below and using them as a template. There are two types of samples, so please choose the one that best suits your purpose.

Please note that both samples require xData jobs to be already installed.

Sample Job 1

Download

This is a sample that retrieves data from a table using the Event Data Distribution API, performs simple processing, and then inserts the data into another table using the Data Loader API. The following values must be set from Contexts before execution.

  • eventdata_output : Temporary storage location for data (json) to be retrieved from the event data delivery API.
  • add_record_input : Temporary destination for data (json) to be passed to the data loader API.

Sample Job 2

Download

This sample reads data from a local CSV file, performs simple processing, and inserts the data into a table using the data loader API. The following values must be set from Contexts before execution.

  • csv_file : Source of CSV data to be read. Place talend_dataloader_sample2.csv here in advance.
  • add_record_input : Temporary destination for data (json) to be passed to the data loader API.

Importing the sample job

  1. after launching Talend, right-click on the tree on the left and select Import items.
  2. Select the sample zip file you want to use in Select archive file, check all items (Select All), and press the Finish button.
  3. If the import is successful, the sample job will be added under Job Designs > xdata_jobs_sample in the tree.