We are using Java EMA/ETA library for connecting to the Refinitiv RTO, and want to have a reliable health checking mechanism.
Currently, we made a decision to restart a client on 2 factors:
- if the stream state field in StatusMsg and RefreshMsg is not OPEN .
- if we did not receive any price updates with the RefreshMsg or UpdateMsg for more than 2 minutes.
But with this approach (second part), we have an issue with client restarting every weekend multiple times due to no updates coming on the weekends.
Can you suggest what would be the best practice to perform health checks?