Data generator properties
Properties to configure to be able to generate automatically your test data as a dataset.
Data generator is unidirectional and can only be used as a source dataset in your pipeline.
Data generator connection
Select Data generator connection in the list and configure the connection.
Configuration
Select your engine from the list and set the main and advanced settings.
After configuring the connection, give it a display name (mandatory) and a description (optional).
Data generator dataset
Property | Configuration | |
---|---|---|
Dataset name | Enter a display name for the dataset. This name will be used as a unique identifier of the dataset in all Talend Cloud apps. | |
Connection | Select your connection in the list. If you are creating a dataset based on an existing connection, this field is read-only. | |
Type | Select the type of dataset you want to create:
|
Property | Configuration |
---|---|
Rows | Enter the number of records you want to generate. |
Fields | Define the fields and the nature of the data to be generated. You can
use predefined types in order to help you generate specific data:
|
Random within list | If you select this type, you can manually add random elements with
custom values and weights to your generated fields. For example, you can generate a field named hair_color with three elements: brown with 0.4 weight (40% of the generated values), red with 0.4 weight (40% of the generated values) and blond with 0.2 weight (20% of the generated values). |
Property | Configuration |
---|---|
Use seed | Enable this option if you want to use a specific seed to initialize a
random number generator. Seeds allow you to keep the same results. Example: 123456 |
Enable custom locales | Enable this option to or select in the list a custom language and
country code. By default, it is en-us. You can select multiple locales: in that case records will be created using the different selected locales in a random way. It allows you to change the value of some types according to these locales (for example address records will vary according to the locale selected). |
Data generator source dataset configuration
Fields to configure in the source dataset of your pipeline.
Property | Configuration | |
---|---|---|
Random rows number | Enable this option if you want to generate a random number of rows according to a minimum (Minimum rows number) and a maximum (Maximum rows number) number that you define. | |
Polling configuration (only if you created records using the streaming type) |
|