Stream DB V1 (Deprecated)

Know the component and how to use it.

Stream DB V1 makes operations through the connection with a database, streaming data to a subpipeline that processes them.

Parameters

Take a look at the configuration options for the component:

Messages flow

Input

The component waits for a message in the following format:

{
    "parameters": {
        "name": "value"
        ...
    }
}

Message "onProcess" structure

{
    "column1":"data1", 
    "column2":"data2", 
    ...
}

Output with error

{
    "code": error_code,"error": error_message,
    "processedId": the_id_column_value
}

Output

{
    "total": 0,
    "success": 0,
    "failed": 0
}
  • total: total number of processed lines

  • success: total number of successfully processed lines

  • failed: total number of lines whose process failed

Important: when the lines are correctly processed, their respective subpipelines return { "success": true } for each of them.

This component makes batch processing. To better understand the concept, click here.

Last updated