1 year ago
#186219
Blockost
Spring WebFlux with socket.io capabilities
I'm playing around with Spring WebFlux and how to do async I/O in Java but it seems I need to set up a lot of boilerplates for managing websockets. For example, very common operations need to be re-implemented by hand:
- websocket connect/disconnect
- message broadcasting (to a list or all connected sockets)
- gathering websockets in rooms
Is there any library (mature or in-development) to abstract complexity of managing websockets with Spring WebFlux ? I'm looking for similar capabilities/API of the wonderful socket.io.
I took a (very brief) look at RSocket, it looks promising but still at a lower-level than socket.io for NodeJS.
Any help/guidelines would be greatly appreciated.
socket.io
spring-webflux
spring-websocket
rsocket
0 Answers
Your Answer