Skip to content

Commit 588c6bd

Browse files
Merge pull request #282127 from jonburchel/patch-43
Update connector-sap-change-data-capture.md
2 parents 59e4ef0 + 8458be9 commit 588c6bd

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

articles/data-factory/connector-sap-change-data-capture.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,43 @@ The **Checkpoint Key** is used by the SAP CDC runtime to store status informatio
8686
8787
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-checkpoint-key.png" alt-text="Screenshot of checkpoint key property in data flow activity.":::
8888

89+
### Parameterized checkpoint keys
90+
91+
Checkpoint keys are required to manage the status of change data capture processes. For efficient management, you can parameterize the checkpoint key to allow connections to different sources. Here's how you can implement a parameterized checkpoint key:
92+
93+
1. Create a global parameter to store the checkpoint key at the pipeline level to ensure consistency across executions:
94+
95+
```json
96+
"parameters": {
97+
"checkpointKey": {
98+
"type": "string",
99+
"defaultValue": "YourStaticCheckpointKey"
100+
}
101+
}
102+
```
103+
104+
1. Programmatically set the checkpoint key to invoke the pipeline with the desired value each time it runs. Here's an example of a REST call using the parameterized checkpoint key:
105+
106+
```json
107+
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}?api-version=2018-06-01
108+
Content-Type: application/json
109+
{
110+
"properties": {
111+
"activities": [
112+
// Your activities here
113+
],
114+
"parameters": {
115+
"checkpointKey": {
116+
"type": "String",
117+
"defaultValue": "YourStaticCheckpointKey"
118+
}
119+
}
120+
}
121+
}
122+
```
123+
124+
For more detailed information refer to [Advanced topics for the SAP CDC connector](sap-change-data-capture-advanced-topics.md).
125+
89126
### Mapping data flow properties
90127

91128
To create a mapping data flow using the SAP CDC connector as a source, complete the following steps:

0 commit comments

Comments
 (0)