Does RFA manages “natively” simultaneous connection to multi DACS?

Hello
I'm working on a java application that embeds RFA (more precisely com.reuters.risk:rfa verson 8.2.1.L3)
This application:
- connects to a DACS server
- registers users (by calling AuthorizationAgent.login())
- queries DACS in order to know whether a user is allowed to access a given PE
One of our customers would like our application to be able to address simultaneously many DACS (because he has many DACS at different places in the word, all having a subset of his users)
I would like to know if RFA already manages “natively” simultaneous connection to multi DACS or if I should handle the request of the client by myself
Thanks for helping
Regards,
Philippe MESMEUR
Best Answer
-
Thank you for reaching out to us.
According to the AuthorizationAgent.login() method, I assumed that you are using OpenDACS API.
The application can use OpenDACS API to connect to multiple DACS servers by using DACSMC.
However, the application must implement this feature.
I am not sure if the application supports multiple DACS connections.
0
Answers
-
Hi
sorry for not relying before now. I had to work on other priority subjects.
The application can use OpenDACS API to connect to multiple DACS servers by using DACSMC.
Can you give me more information about what DACSMC is. Should I understand that "MC" stands for "MultiConnect"?
Do you confirm that when using "DACSMC", I can connect to many DACS?
I tried to search for "DACSMC" on this forum and I found two interesting links:- https://community.developers.refinitiv.com/questions/104503/rfa-application-connecting-to-multiple-dac-daemons.html
"You can refer to the dacsMultiConnectSubscribeClient example in the OpenDACS C++ package. This example demonstrates how to use OpenDACS API multiconnection feature to connect with several DACS sink daemons that locate in different hosts (or the same host as the example)."
where can I find the dacsMultiConnectSubscribeClient example? is there such an example in JAVA? - https://community.developers.refinitiv.com/questions/72988/opendacs-api-net-question-regarding-usage-collecti.html
this page gives an example in which I found "clues"
I understand that:- when calling AuthorizationSystem.Acquire(), I have to use "DACSMC" (until now I was using "DACS")
AuthorizationSystem.Acquire("DACSMC");
- I can provide many hosts, via a string containing many host:port separated by a space char
AuthorizationSystem.setProperty("dacs.daemon", "host1:8211 host2:8211");
- when calling AuthorizationSystem.Acquire(), I have to use "DACSMC" (until now I was using "DACS")
do you think I will get the expected behavior, when doing that ("DACSMC" + multi-hosts)?
Expected behavior:
- two DACS having two different sets of users; in order to make it simple:
- DACS1 has user1
- DACS2 has user2 - connect to many DACS at the same time
- e.g. connect to DACS1 and DACS2 at the same time - when AuthorizationAgent.login() is called for a given user, the user is found on the right DACS
- when calling AuthorizationAgent.login() for user1 it is found on DACS1
- when calling AuthorizationAgent.login() for user2 it is found on DACS2
Roughly speaking, DACS1 and DACS2 are driven by the application as being more or less a single DACS
Many thanks for helping
Best regards,
Philippe MESMEUR
0 - https://community.developers.refinitiv.com/questions/104503/rfa-application-connecting-to-multiple-dac-daemons.html
-
Yes, DACSMC can be used to connect to multiple DACS Sink Daemons.
To connect to two DACS Sink Daemons, the application needs to acquire two DACSMC.
You can specify the host and port settings when acquiring DACSMC.
The examples are in the OpenDACS package. You can download it from the Software Downloads. It is in the Category: MDS - Manageability and Product: Real-Time Open DACS Permission Server API SDK. It supports Java. Please check the API compatibility matrix for the supported compilers and operating systems.
If you are unable to download it, please contact your LSEG account team or sales team.
0 -
Hi,
I downloaded the package and I am starting to investigate DacsMultiConnectSubscribeClient
In the comments I can read
This program demonstrates how to use Refinitiv Real-Time Data Access Control System API MultiConnection feature to connect with several Refinitiv Real-Time DACS sink daemons that locate in different host, either local or remote host
according to my knowledge, they are two kind of DACS:
- server
- sink daemons: still according to my knowledge DACS sink daemons are daemons that can be deployed on any hosts and that are connected to "real" DACS servers.
Do you confirm that using DACSMC, I can connect to either DACS server and DACS Sink daemons?
Thanks for helping
Regards,
Philippe MESMEUR
0 -
OpenDACS API can't directly connect to DACS servers. I can connection to a DACS server via a DACS sink daemon.
Yes, DACSMC can connect to multiple DACS sink daemons.
0 -
Hello
we just started to test the "DACSMC" proposal; as said above:
- when calling AuthorizationSystem.Acquire(), I have to use "DACSMC" (until now I was using "DACS")
AuthorizationSystem.Acquire("DACSMC");
AuthorizationSystem.setProperty("dacs.daemon", "host1:8211 host2:8211");
However, when trying to connect to DACS with "DACSMC", I get the following error/stack:
[2024-11-06 15:42:31.006] ERROR main com.trmsys.rtmd.core.rtsources.reuters.rfa.RfaFacade Error com.reuters.rfa.dacs.AuthorizationException: Unknown authorization system (DACSMC)
at com.reuters.rfa.dacs.AuthorizationSystem.acquireBase(AuthorizationSystem.java:625)
at com.reuters.rfa.dacs.AuthorizationSystem.acquire(AuthorizationSystem.java:584)
at ....is there something more that I should do with my application?
is there something I should configure on DACS side?
For connecting to DACS in Java, I am using
<dependency>
<groupId>com.reuters.risk</groupId>
<artifactId>rfa</artifactId>
<version>8.2.1.L3</version>
</dependency>Thank you
Regards,
Philippe
0 - when calling AuthorizationSystem.Acquire(), I have to use "DACSMC" (until now I was using "DACS")
-
I just realize that what I am doing cannot work, at least with the version of the library that I am using
private static AuthorizationSystem acquireBase(String var0) throws AuthorizationException {
synchronized(_GlobalLock) {
if (!var0.equals("DACS")) {
String var11 = "Unknown authorization system (" + var0 + ")";
throw new AuthorizationException(var11);any suggestions? is there something that I did not correctly understand?
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
- 689 Datastream
- 1.4K DSS
- 627 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
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 278 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 708 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
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛