How to Implement Adobe Livestream API Reconnect Logic in Java
Dear All ,
We have implemented Livestream API data pull to get the data in real time into our Data Lake using Java pipeline.
Since last 6 months we have been facing issues. When we start the Job the maximum connections are set to 8 using parameter “?maxConnections=8” in the API URL.
But after 1-2 weeks the connections drop to 4 or sometime even to zero.
This leads to data latency into our reports.
In order to mitigate, when we re-start the Job, connection are set back to 8 again.
This cycle repeats. As its pain to re-start Job every 1-2 weeks.
We want to build Auto reconnect logic into our Java code, so that if connections drop, it automatically reconnect and we do not need to re-start the Job.
If anybody has come across this issue, please share Any documentation or reference to build re-connect logic.
Thank you.
Sanjay