All Products
Search
Document Center

:Data subscription fails after the SDK is restarted

Last Updated:Jan 16, 2023

Solution

Data subscription fails after the SDK is restarted.

Causes

In a change tracking channel, you can set the time range to one day. If the time range is one day, the channel deletes the expired data. Therefore, if the data corresponding to the last time the SDK stopped is not in the current subscription channel, the data corresponding to this consumption checkpoint cannot be subscribed to.

Solution

To fix the problem, you need to modify the consumption checkpoint before starting the SDK so that the consumption checkpoint is within the data range. For more information about how to modify the consumption checkpoint, see the document. Modify the consumption checkpoint of a subscription channel.

Application scope

  • Data Transmission Service (DTS)