Dummy Product Concrete Extractor¶
Generates dummy product data and returns structured rows for concrete products. Supports bulk extraction, localization, store mappings, and category assignments.
Configuration¶
Name |
Type |
Description |
|---|---|---|
|
Attribute |
Total number of products to generate |
|
Attribute |
Number of locales for localized product descriptions (default: 1) |
|
Attribute |
Number of attributes assigned to each product (default: 5) |
|
Attribute |
Number of stores where the product is available (default: 1) |
|
Attribute |
Number of products extracted in each batch (default: 100) |
|
Attribute |
Contains localized product descriptions and attributes (default: |
|
Attribute |
Specifies the stores where the product is available (default: |
|
Attribute |
Assigns each product to a category (default: Auto-assigned using modulo operation) |
|
Attribute |
References an abstract product (default: |
Example¶
Input data¶
N/A (Data is dynamically generated based on configuration.)
Pipeline configuration¶
<dummy-product-concrete numberOfProducts="100" numberOfLocales="5" numberOfAttributes="10" numberOfStores="3" bulkSize="20" />
Output data¶
sku |
localized |
storeIds |
categoryIds |
attributes |
abstract_sku |
|---|---|---|---|---|---|
SKU_0 |
{} |
[1, 2] |
[10, 20] |
{“attribute_0”: “Attribute value 0”, “attribute_1”: “Attribute value 1”} |
SKU-100 |
SKU_1 |
{} |
[1, 2] |
[15, 25] |
{“attribute_0”: “Attribute value 0”, “attribute_1”: “Attribute value 1”} |
SKU-99 |
Error Handling¶
Error |
Description |
|---|---|
Incorrect Configuration |
Throws an exception if the number of products or attributes are negative. |
Invalid Attribute Format |
JSON encoding errors may occur if attributes are improperly formatted. |
Batch Processing Issues |
If |
Performance Considerations¶
Consideration |
Description |
|---|---|
Use an appropriate ``bulkSize`` |
Small sizes improve memory efficiency but increase processing time. |
Ensure attribute encoding is valid JSON |
Avoids issues with data parsing. |
Validate all parameters before execution |
Prevents runtime exceptions. |
Key Features¶
Feature |
Description |
|---|---|
Supports Bulk Product Extraction |
Handles large datas |