SQS endpoint subscription
Hi, we use /alerts/v1/news-stories-subscriptions to create subscription and pull messages from SQS.
We have noticed that our sqs endpoint always ends up being https://sqs.us-east-1.amazonaws.com.
Is this something that we can control? I mean can we configure what endpoint we pull messages from?
Best Answer
-
Hello @lukasz.druczak
I checked with the News Alert team. The team confirms that the API has only one region server which is AWS us-east-1.
I hope this information helps.
0
Answers
-
Hi, that is clear thanks!
0 -
Hi, @wasin.w ,
We have just noticed that when we are creating a subscription, there are multiple platform streaming endpoints that can be used. Our service is located in the UK, why do we end up in the us-east?
0 -
Hello @lukasz.druczak
Please be informed that the accepted question will not be monitored. I strongly suggest you create a new question next time.
About how to set the streaming price/RTO region with the Data Library, please check my colleague answer on this How can I assign a specific region of RTO in Data Labrary? old post.
I did a quick test with the Data Library version 1.6.2 and LSEG Data Library (aka Data Library version 2.0.0) on the EX-2.02.04-Pricing-StreamingEvents.ipynb example. It connects to the EU endpoint as my configuration file.
Config file:
{
"apis": {
"streaming": {
"pricing": {
"endpoints": {
"main": {
"locations": [
"eu"
]
}
}
}
}
},
"logs": {
...Result:
config : PlatformStreamCxnConfig
headers=[],data_formats=['tr_json2'],supported_protocols=['OMM'],data_fmt=tr_json2
urls : wss://eu-central-1-aws-1-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
wss://eu-central-1-aws-3-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
wss://eu-central-1-aws-2-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
wss://eu-west-1-aws-1-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
wss://eu-west-1-aws-3-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
wss://eu-west-1-aws-2-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
[2024-09-05T19:37:27.780797+07:00] - [sessions.platform.ldp.0] - [DEBUG] - [27380 - OpenUniverseStreams-Thread_0] - [_stream_cxn_cache] - [get_cxn] - + StreamCxnCache created new connection: id=0, daemon=False, content_type=ContentType.STREAMING_PRICING, protocol_type=ProtocolType.OMM
[2024-09-05T19:37:27.780797+07:00] - [sessions.platform.ldp.0] - [DEBUG] - [4680 - ThreadOMMSTREAMING_PRICING_0.0] - [stream_connection] - [run] - [OMMSTREAMING_PRICING_0.0] wait start connecting
[2024-09-05T19:37:27.780797+07:00] - [sessions.platform.ldp.0] - [DEBUG] - [27380 - OpenUniverseStreams-Thread_0] - [_stream_cxn_cache] - [get_cxn] - StreamCxnCache wait for connection: id=0, content_type=ContentType.STREAMING_PRICING, protocol_type=ProtocolType.OMM
[2024-09-05T19:37:27.780797+07:00] - [sessions.platform.ldp.0] - [DEBUG] - [4680 - ThreadOMMSTREAMING_PRICING_0.0] - [stream_connection] - [run] - [OMMSTREAMING_PRICING_0.0] is connecting
[2024-09-05T19:37:27.780797+07:00] - [sessions.platform.ldp.0] - [DEBUG] - [4680 - ThreadOMMSTREAMING_PRICING_0.0] - [stream_connection] - [_run_websocket_listener] - [OMMSTREAMING_PRICING_0.0] connect
num_attempt : 0
url : wss://eu-central-1-aws-1-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket
headers : ['User-Agent: Python']
cookies : None
transport : websocket
subprotocols: ['tr_json2']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 中文论坛