Full and Incremental Synchronize
The synchronize
action demonstrated in the sample code acts the same way every time it is called: the connector ingests every synchronize
action is used.
When the synchronize
action runs again, it is more efficient to send ingest-add commands only for new
To implement an incremental synchronize it is often useful to store state information, for example a list of files retrieved and the time when they were last modified. This information can then be compared to the files currently in the repository.