I am this library GitHub - kuon/java-phoenix-channel: Phoenix Channel Java Client written in Kotlin for some time now, but since it is not maintained any more, has issues with socket connection , and since underlying socket protocol remains the same, our development team is thinking about moving to Scarlet, but it is feasible to do so and if not what could be road blocks to implement it?
Looks like Scarlet Library is a WebSocket library.
Phoenix Channels and Sockets implement heartbeat, push, broadcast, join, leave etc over Web Sockets. So using plain vanilla Web Socket library will result in timeout after 1 minute or so.
Documentation page for Phoenix Channel has list of libraries for different platforms/languages
Thank you have checked it and it is working now. Thanks a lot for the help.