I am using RFA 7.0.1.E4 in order to access DACS. I would like to know if/how it is possible to handle DACS recoverability.
To be more precise on my question, I need two things:
To do so, do I have to check periodically the connection to DACS? (this may be done with a thread running in background)
Or can it be handled automatically and transparently via RFA?
(To my modeste knowledge, Elektron is not able to work with DACS: if I am wrong and Elektron is able to work with DACS and if Elektron is able to handle recoverability with DACS, another possibility for me would be switch from RFA to DACS)
Thanks for help
Open DACS will reconnect to DACS when the connection is down. As I know, there is no event fired to the application when the DACS connection state is changed. Therefore, the application needs to regularly check the daemon connection state to verify the connection.
RFA is able to connect to TREP or Elektron feed to consume real-time data. RFA itself is unable to connect to DACS. An API that can connect to DACS is Open DACS. However, Open DACS relies on the event distribution mechanism in RFA so using Open DACS requires RFA.
RFA and Open DACS are different APIs but they can be used together because they rely on the same event distribution mechanism.
When you mentioned Elektron in the question, I assume that it is Elektron API, such as EMA or ETA. Like RFA, the Elektron API can connect to TREP or Elektron feed to consume real-time data. It is unable to connect to DACS.
In theory, you can use Open DACS with Elektron API. You can refer to this thread.