question

Upvotes
Accepted
1 0 0 0

Stale status (DataStream=”Suspect” and StreamState=”Open”) for ema-API

We are receiving in our log at startup time for all the subscribed tickers(100.000 tickers): StreamState[Open]; DataState[Suspect]; StatusCode[None]; errormessage current data is out of date

we are using EMA-API java and 10 multi-ommconsumers. After 10 minutes, we receive the first refresh messages with the correct data. How can we solve this out of date problem and this this delay time problem of 10 minutes ?

Actually, we are using 1 ADS server, however we can using in parallel 2 ADS servers. Perhaps this is a part of the solution. Which are the config parameters, when we are looking in the EmaConfigTest.xml for this parallel use of the 2 ADS-servers ?

#technologyema-apielektron-message-apirefinitiv-real-time
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.

Hello @luc.dossche

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@luc.dossche

Thank you for reaching out to us.

One OMMConsumer instance has one active connection. To have parallel connections, you need to create multiple OMMConsumer instances.

How does the application subscibe 100,000 tickers? Does it subscribe to all tickers at startup?

You may consider implementing subscription throttle logic in the application. For example, subscribing to the specific numbers of items (such as 1000) every second.


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.

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.