question

Upvotes
Accepted
387 7 13 18

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

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.

#technologyeta-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
87.1k 294 53 79

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks for the detailed explanation,

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.