We use TREP 2.2 to get HongKong Stocks quote data for years. Our client Program use rfa7.2.1 C++. Recently we upgrade TREP from version 2.2 to 3.2. When our Program connects to TREP 3.2 at first time, we can't get any quote data until we also upgrade these three file appendix_a, enumtype.def, RDMFieldDictionary.Now we can get most HongKong Stocks's quote data. But some 170 RICs can't get quote data. In logs file, we found: Received Event Stream Closed Event, event type: OMMItemEventEnum handle: 0x2aaaaf7fab00, 3988.HK. Those logs trigger by event.isEventStreamClosed(). But on TREP server, use rsslSinkApp to get 3988.HK's quote data OK. We need help! Thanks!
As RFA 7.2 is End Of Life for a while, the last supported version being RFA 7.6,
I would try to approach this issue as follows. I would download the only supported RFA that supports MarketData, vs OMM, i.e. RFA 7.6 from RFA Downloads - Older Versions per your language (C++/Java).
If you are running Market Data, test with a simple Market Data example you can find in Legacy -> Examples. RFASTTicker is one choice. If you are running OMM, test with any of OMM simple examples, StarterConsumer is a good choice.
Replace the instrument with your instrument.
If the example works for you, see what the differences are.
Once you know what the issue is, and you are able to run for now, so the matter is not urgent for you, I would recommend a planned migration to a newer API, look at EMA from Elektron API Suite over migrating to RFA8.
Thank you, @zoya.farberov. Your answer is very helpful. But before migrating to RFA8, we try to solve it at RFA7.2. I add more debug statments, now more info as follow:
2020 May 11 13:58:51.637 ST GMT+08:00 669F 617E88C0 1283 ERROR*
Received MMT_MARKET_PRICE Status
serviceName : IDN_RDF
symbolName : 8290.HK
streamState : Closed
dataState : Suspect
statusCode : TooManyItems
statusText : A20: Aggregate item limit exceeded. received invalid item data from server
The logs shows 'item limit exceeded'. But the new TREP server has 25000 item limits, and the client request no more than 2600 items.
As i know, the old TREP 2.2 server has 5000 item limits. one client requests 2600 items.That's weird. Any hints? Thanks!