How does subscription recovery work for an Eta application?
I am using ElektronSDK/Cpp-C/Eta client API to build a real-time market data handler. Consider the following scenario
- The handler is up, client API is connected to remote ADS, subscribed to a bunch of items, and receiving update msgs
- Now we have a network outage and the client API gets disconnected from ADS
- At some point later client API reestablishes connection to ADS
From the handler application perspective, expectation is that all previously subscribed items will automatically recover their streams, will get refresh msgs, followed by updates. The client API takes care of it and It is not the responsibility of handler to resubscribe.
Is this expectation correct? Is there anything special to be done at code or config level in the handler to make it happen? Is this a client API feature or ADS feature or both together? If this is not working then how does one go about troubleshooting this?
Best Answer
-
There are two ways to use ETA.
1. The application directly uses ETA, as shown in the Consumer example. In this way, the application needs to handle everything, such as ping mechanism, connection recovery, and item recovery
2. The second way is using the value-added library (Reactor), as shown in the VAConsumer example. The Reactor will handle the ping mechanism, and connection recovery. However, to do item recovery, you need to enable WatchList in the Reactor, as shown in the WatchListConsumer example
0
Answers
-
Hi, thank you for your reply. I tried to follow WatchListConsumer in my code but encountered API and behavior issue. So I decided to handle this in application code: after reconnection, on channel ready event, I resubmit subscription requests for all RICs the app had been subscribed to. Do you see any issue with this approach? Thank you. -- Rajiv
0 -
I think the application should resubmit subscription requests when the service is up. If you need to perform item recovery at the application, please make sure that the watchlist is disabled.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛