Continuation¶
Continuation (also known as incremental loading) involves extracting only the data that has changed (excluding deletions) since the last extraction cycle.
Implementing continuation in a connector¶
See the section on continuation support.
Example: system config with continuation¶
"<datatype>-list": {
"method": "GET",
"url": "https://api.example.com/v1/data",
"since_property_name": "<since_property_name>",
"since_property_location": "<since_property_location>",
"updated_expression": "<update_expression>"
}
Example: pipe config with continuation¶
{
"_id": "<system>-<datatype>-all",
"namespaced_identifiers": false,
"pump": {
"schedule_interval": 30,
"rescan_cron_expression": "0 * * * *"
},
"source": {
"operation": "<datatype>-list",
"initial_since_value": "<initial_since_value>",
"supports_since": true,
"system": "<system>",
"type": "rest",
},
"type": "pipe"
}
A full connector example of continuation support could be found in Superoffice connector’s playground branch in the Contact template.