- 博客(2)
- 收藏
- 关注
原创 websocket分布式共享session解决方法
问题描述:项目开发是基于cloud分布式开发模式,需要实时向客户端推送消费的kafka内容,由于websocket的session不可序列化,故不能够存储到redis等缓存当中。为解决其分布式多服务器共享session,想到以下解决方案。1,socket连接时,将其sessionkey和当前服务器ip进行绑定,放入redis缓存。2,消费kafka消息时,判断session是否存在该服...
2018-10-29 14:47:59
9101
1
原创 No plugin found for prefix 'jetty' in the current project and in the plugin groups
No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Administrator\.m2\re
2016-11-14 14:29:44
331
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅