Share Websocket Session between Spring Micro Service
<p>I've a Spring boot Application for Web sockets. I'm not using Stomp Web socket.
Is there way we can share web socket sessions across multiple instance of micro service.</p>

<p>Is there a way we can save websocket session in Redis or cassandra?</p>

<p>My use case is, i've multiple instance of my micro service is running, which is listening a kafka queue, so when a message received, i need to send it to the client using web socket session.I'm saving the session in the micro service as a MAP. My problem is any one of my micro service is getting the message, if the session is not available with that micro service the message is not going to the client.</p>

<p>If i'm able to save the websocket sesssion in REDIS or Cassandra, i can query the session and sent to the client.</p>

<p>I can't use Stomp web socket as per the requirement, it has to be normal websocket.</p>