How to recover from "disconnected due to an overflow condition"

Bhimrao.Ghule
Bhimrao.Ghule Contributor

Hi,

We are using ETA library with Watchlist enabled. By increasing number of buffers, frequency of disconnection has been improved a lot.

But in such a unfortune situation, How we can recover form such a type of disconnection ? Client application should connect again and subscribe for all tickers.

Thanks in advance

Bhimrao.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Bhimrao.Ghule

    Thanks for reaching out to us.

    According to the document, the watchlist automatically recovers data streams in response to failure conditions, such as disconnects and unavailable services, so that applications do not need special handling for these conditions. As conditions are resolved, the watchlist will re-request items on the application’s behalf. Applications can also use this function to request data before a connection is fully established.

    To recover from disconnects using a watchlist, enable the reactor’s connection recovery. Options to reconnect disconnected channels are in the RsslReactorConnectOptions.

    I hope that this information is of help.

Answers