Skip to content
  • There are no suggestions because the search field is empty.

Will the SDK handle recovery automatically?

Yes, the SDK handles the recovery automatically. During the regular operation when the SDK is running and there is a feed loss/disconnection event, the SDK will trigger a ProducerDown event (.NET SDK) / onProducerStatusChange method where .isDown = true(Java SDK). In this case, you should suspend all betting. Then the SDK will issue a recovery from the timestamp of the last correctly received message from every producer (prematch and live) and trigger ProducerUp (.NET SDK) / onProducerStatusChange method where .isDown = false(Java SDK) when it has processed all the recovery messages, telling you that you can reopen the matches for betting.