All Products
Search
Document Center

The SDK downloads data.

Last Updated: Apr 29, 2020

Solution

During normal downloading, the SDK stops suddenly and cannot receive data.

 

Causes

The ackAsConsumed interface is not called in the SDK code to report the consumption offset.

 

Solution

The SDK has set a cache of 8192 records. If the ackAsConsumed reporting point is not called, the data in the cache will not be deleted. When the cache is full, new data cannot be pulled. In this case, the SDK stops subscribing to data.

 

Application scope

  • Data Transmission Service (DTS)