不使用stomp协议的skynet rabbitmq模块 #1189
Replies: 7 comments
-
我认为不宜再增加现有 skynet 仓库的维护负担。任何库的引入,都意味着有责任保证它没有问题。所以,建议把链接放在 wiki 里面。 |
Beta Was this translation helpful? Give feedback.
-
我写过个 可以参考下纯 lua 实现 如果需要修改 应该问题也不大 能用 额 我好像看错了问题 ) |
Beta Was this translation helpful? Give feedback.
-
上面那个库我的个人意见是:应该把位操作、64bit 整数运算、解包函数这些,用新的 lua 内置语法重新实现以下。 |
Beta Was this translation helpful? Give feedback.
-
哈哈 有拜读过这个实现,现有的队列不支持stomp,撕逼无果之后选择换了个方案 |
Beta Was this translation helpful? Give feedback.
-
我加了一个bit.lua 简单跑通了这个解决方案,没有做比较好的优化,没好意思上传。稍后我试试放wiki上 |
Beta Was this translation helpful? Give feedback.
-
你贴的 链接 可以拿来改改 就是 代码多了点 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
多数固有的rabbitmq队列并不支持stomp协议,希望能合入一个ampq协议的rabbitmq工具。
建议参考:
https://github.com/gsdenys/amqp-client
经测试、修改后可以正常使用,已知消息少的时候会出现异常、需要写入权限才能消费
Beta Was this translation helpful? Give feedback.
All reactions