The Fabric TDM Library includes built-in generic Broadway flows that can easily be adapted for the TDM of any specific data model. These TDM flows are described in this article.
The TDM subfolder in the Broadway Shared Objects folder includes generic flows and templates for the task execution activities. These flows run as they are and do not require manual editing by the implementor.
The TDM library contains templates and generic flows that can be used for creating a TDM implementation based on a project's data model. These templates are built using the Fabric Templates functionality, which enables the creation of different project objects according to a predefined structure. The templates are used for creating delete, load, Sequence, and data generation flows.
A K2exchange connector can have its own TDM templates. The connector installation also imports the related TDM templates into the TDM project. The connector's templates are imported into a subfolder under the Implementation/SharedObjects/Templates folder. For example, the MongoDB connector's templates are imported into the Implementation/SharedObjects/Templates/MongoDB folder.
The TDMLuInitBasedOnFabric flow checks the LU schema's source interface and uses the connector's templates if they exist.
TDM orchestration flows manage the execution on each task's entity. The following orchestration flows are executed by the TDM execution process:
TDMOrchestrator — this flow runs on every LU Instance (LUI) of a load and/or delete task execution. It encapsulates all Broadway flows of the TDM task into a single flow. It includes the invocation of all steps such as initiation activities, running the delete and/or load flows, error handling and statistics gathering. All activities on the LUI are included in one transaction, except the get LUI from Fabric, which is excluded in order to support entity cloning, as all replicas work on a single LUI. Fabric cannot open parallel transactions on the same LUI; therefore, it must be excluded from the delete and load Broadway transaction as a way to enable better parallelism when processing the entity’s replicas.
TDMExtractOrchestrator — this flow runs on every LU of an extract task execution.
TDMGenerateOrchestrator — this flow runs on every LU of a rule-based generation task execution.
TDMReserveOrchestrator — this flow runs on a Reserve only task execution. Unlike the TDMOrchestrator flow that runs on each LU, this process is executed only once by each task execution, and it marks the root entities as reserved in the TDM DB.
Table level orchestrator flows — these flows run Table-level task executions.
TDM task initialization is performed using the InitiateTDMLoad flow, which includes several steps such as:
The InitiateTDMLoad.flow is performed as the first step of the TDMOrchestrator flow.
The TDM library includes a set of flows that handle tables.
Click here to learn more about TDM — Table Implementation.
The load and delete flows are created for each LU by the TDMLuInitBasedOnFabric flow execution, based on the TDM templates and the LU structure.
By default, the following flows are created:
Delete flow: a single delete flow now deletes the document from the target environment. See an example of a delete flow for an LU that is based on MongoDB connector:
Load flow: a single load flow runs the following activities:
See an example of a load flow for an LU that is based on MongoDB connector:
Click here for more information about how Fabric handles complex documents.
The TDM library offers a generic error handling and statistics gathering mechanism, which uses Broadway capabilities that are tailored for TDM business requirements.
Click here to learn more about TDM error handling and statistics flows.
New templates, flows and Actors have been added in TDM V8.0 to support synthetic data generation of entities.
Click here to learn more about implementing TDM data generation.
The Fabric TDM Library includes built-in generic Broadway flows that can easily be adapted for the TDM of any specific data model. These TDM flows are described in this article.
The TDM subfolder in the Broadway Shared Objects folder includes generic flows and templates for the task execution activities. These flows run as they are and do not require manual editing by the implementor.
The TDM library contains templates and generic flows that can be used for creating a TDM implementation based on a project's data model. These templates are built using the Fabric Templates functionality, which enables the creation of different project objects according to a predefined structure. The templates are used for creating delete, load, Sequence, and data generation flows.
A K2exchange connector can have its own TDM templates. The connector installation also imports the related TDM templates into the TDM project. The connector's templates are imported into a subfolder under the Implementation/SharedObjects/Templates folder. For example, the MongoDB connector's templates are imported into the Implementation/SharedObjects/Templates/MongoDB folder.
The TDMLuInitBasedOnFabric flow checks the LU schema's source interface and uses the connector's templates if they exist.
TDM orchestration flows manage the execution on each task's entity. The following orchestration flows are executed by the TDM execution process:
TDMOrchestrator — this flow runs on every LU Instance (LUI) of a load and/or delete task execution. It encapsulates all Broadway flows of the TDM task into a single flow. It includes the invocation of all steps such as initiation activities, running the delete and/or load flows, error handling and statistics gathering. All activities on the LUI are included in one transaction, except the get LUI from Fabric, which is excluded in order to support entity cloning, as all replicas work on a single LUI. Fabric cannot open parallel transactions on the same LUI; therefore, it must be excluded from the delete and load Broadway transaction as a way to enable better parallelism when processing the entity’s replicas.
TDMExtractOrchestrator — this flow runs on every LU of an extract task execution.
TDMGenerateOrchestrator — this flow runs on every LU of a rule-based generation task execution.
TDMReserveOrchestrator — this flow runs on a Reserve only task execution. Unlike the TDMOrchestrator flow that runs on each LU, this process is executed only once by each task execution, and it marks the root entities as reserved in the TDM DB.
Table level orchestrator flows — these flows run Table-level task executions.
TDM task initialization is performed using the InitiateTDMLoad flow, which includes several steps such as:
The InitiateTDMLoad.flow is performed as the first step of the TDMOrchestrator flow.
The TDM library includes a set of flows that handle tables.
Click here to learn more about TDM — Table Implementation.
The load and delete flows are created for each LU by the TDMLuInitBasedOnFabric flow execution, based on the TDM templates and the LU structure.
By default, the following flows are created:
Delete flow: a single delete flow now deletes the document from the target environment. See an example of a delete flow for an LU that is based on MongoDB connector:
Load flow: a single load flow runs the following activities:
See an example of a load flow for an LU that is based on MongoDB connector:
Click here for more information about how Fabric handles complex documents.
The TDM library offers a generic error handling and statistics gathering mechanism, which uses Broadway capabilities that are tailored for TDM business requirements.
Click here to learn more about TDM error handling and statistics flows.
New templates, flows and Actors have been added in TDM V8.0 to support synthetic data generation of entities.
Click here to learn more about implementing TDM data generation.