question

Upvotes
Accepted
3 0 0 0

Data Recovery

HI Everyone,

I'm in the process of writing a listener using rtsdk. It's not clear in the doc how does recovery works. For instance I connect real time in the morning all goes well and at 2pm my listener goes down. At 3 pm the listener gets back online. Is there a way to recover the missing data from 2pm to 3pm or do I need to start with a fresh snapshot.

Thank you,
Richard

elektronrefinitiv-realtimeelektron-sdkrrtema-apirecovery
icon clock
10 |1500

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

Upvote
Accepted
18k 21 12 20

Hi @Neon

For "Streaming data", if your connection is lost, you would not be able to request the lost data during the connection lost.

By default, EMA will try to recover the connection lost for you. (You can check recoverXXX parameters from EMA configuration guide).

When it successfully recovers the connection, your application will receive a new refresh message. So your application should use this refresh message as a new cache.

icon clock
10 |1500

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

Upvote
11.5k 16 7 10

Hello @Neon

While my colleague @chavalit.jintamalit gives you a clear explanation about real-time data behavior, you set the EMA reconnection behavior from the following EmaConfig.xml parameters:

  • ReconnectAttemptLimit
  • ReconnectMaxDelay
  • ReconnectMinDelay

Please find more detail about the above parameter in the EMA Configuration guide document (Java and C++ download links)

icon clock
10 |1500

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

Click below to post an Idea Post Idea