Real-Time - Optimized: Change in Service Discovery Request for WebSocket API - Ticket 13104

Hi Team,
I got an notification (https://my.refinitiv.com/content/mytr/en/pcnpage/13104.html?utm_source=Refinitiv&utm_medium=email&utm_campaign=Change_Notification&utm_content=PCN) today from Refinitiv where they have suggested to change the Service Discovery method code from:
To:
Looks like this change is applicable from 2nd Sep 2021.
Questions:
What happened if we don't make these changes before 2nd Sep 2021? Will the Refinitiv WebSocket API application stop working?
How to test these changes? I made the required changes but after making the changes my service stop working as I am not able to find any host and it's port.
Best Answer
-
The current list of available regions, and the endpoins they map to, when using the streaming discovery service are:
- ap-southeast-1a
- apac-1-t3.streaming-pricing-api.refinitiv.com Port:443
- ap-southeast-1a,ap-southeast-1b
- apac-3-t3.streaming-pricing-api.refinitiv.com Port:443
- ap-southeast-1b
- apac-2-t3.streaming-pricing-api.refinitiv.com Port:443
- eu-west-1a
- emea-1-t3.streaming-pricing-api.refinitiv.com Port:443
- eu-west-1a,eu-west-1b
- emea-3-t3.streaming-pricing-api.refinitiv.com Port:443
- eu-west-1b
- emea-2-t3.streaming-pricing-api.refinitiv.com Port:443
- us-east-1a
- amer-1-t3.streaming-pricing-api.refinitiv.com Port:443
- us-east-1a,us-east-1b
- amer-3-t3.streaming-pricing-api.refinitiv.com Port:443
- us-east-1b
- amer-2-t3.streaming-pricing-api.refinitiv.com Port:443
- us-east-2a
- us-east-2-aws-1-lrg.optimized-pricing-api.refinitiv.net Port:443
- us-east-2a,us-east-2b
- us-east-2-aws-3-lrg.optimized-pricing-api.refinitiv.net Port:443
- us-east-2b
- us-east-2-aws-2-lrg.optimized-pricing-api.refinitiv.net Port:443
0 - ap-southeast-1a
Answers
-
Did you change the value of your location (_region) according to the instructions, i.e.
"Some example WebSocket code have been using the location variable as ‘amers’ or ‘emea’. This should be changed to specify an AWS region such as “us-east-1” or “eu-west-1”."
0 -
Are we saying that we also need to change the value of region?
Currently we have created drop-down for region in my service configuration where user can choose a region where they want to connect. Currently we just have three option here.
For this new change, do we have list of all given regions? so that I can add them in the drop-down list so that user can choose what region they want to connect.
Thanks
Pradeep B
0 -
@nick.zinconeHi
Did you get any chance to look into the below where I am looking for all possible location/region list?
Also, Do we know how to connect to which AWS region and suggest the same to our client?
Thanks
Pradeep B
0 -
@pradeep.badoniHi
Yes, the intention of the notification was to allow for a more granular selection of the streaming endpoint. You can perform this selection any way you wish. However, if you inject the selection you presently have into the new algorithm, it won't work. See the additional answer I provided.
0 -
If you look at the list of streaming endpoints, you can see they have changed since you first adopted the initial algorithm. For example, there are 3 new ones (us-east-2a, ..., us-east-2b).. There is nothing stopping the streaming services team to add new ones. The current algorthim for selection will likely choose the same streaming endpoint, which would put most users on the same service as opposed to distributing the load.
The algorithm is a guide - not a hardcoded requirement. You can still choose the endpoint based on your hardcoded regions, but you will have to change your algorithm to choose an appropriate one. As I mentioned above, the notification is recommending you choose your endpoint based on a more granular region, not 'amers', 'apac', 'emea' because you will likely always choose the same one from each region. While 'apac' and 'emea' presently have 3 to choose from, this could grow. I would suggest that your drop-down be dynamically created based on discovery as opposed to hard-coding. This way, you can have the complete list available for users.
0 -
Are you aware of performing the streaming discovery service to retrieve all available services?
https://apidocs.refinitiv.com/Apps/ApiDocs#/details/L3N0cmVhbWluZy9wcmljaW5nL3Yx/Lw==/GET/PLAYGROUND
0 -
Thanks for the above explanation.
Unfortunately I am not able to access the below link:
https://apidocs.refinitiv.com/Apps/ApiDocs#/details/L3N0cmVhbWluZy9wcmljaW5nL3Yx/Lw==/GET/PLAYGROUND
having the access validation error.
Is there any other way to get the complete list of location along with there region?
Thanks
Pradeep B
0 -
The above link is to access the API Playground: https://apidocs.refinitiv.com/Apps/ApiDocs#/.
Do you have access, or have you visited this site in the past? The link pointed to the /streaming/pricing/v1 endpoint which provides the ability to retrieve all the available streaming endpoint services. While I can provide you a hard-coded list of them, that will likely change over time.
I believe when you signed up, you were provided a Welcome email that included a Machine ID and user ID. The user ID was provided for you to access the Playground.
0 -
Hi0
-
@pradeep.badoni
Please reach out to your account manager. You should be able to access the Playground.
0 -
@nick.zinconeThanks
Appreciated.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 720 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛