Zeromq/AMQP 可插入吗?
[1] 我正在阅读 AMQP 标准,似乎交换、队列和绑定组件之间有明确的分离。然而,查看 Zeromq 文档,Zeromq 似乎不允许您插入自己的交换/队列/绑定实现。
[2] 另外,是否有可用的 AMQP 框架,我不需要担心协议细节,只需插入每个组件的实现并期望它能够工作? (类似于 AMQP 的保险丝)。
更新:我认为 Zeromq 不是一个符合 AMQP 的消息系统,并且没有绑定的概念,所以我认为第一个问题可以忽略。
[1] I was reading through the AMQP standard, and it seems that there is a clear separation between the exchange, queue and binding component. However, looking at the zeromq docs, it doesn't seem as if zeromq allows you to plug in your own exchange/queue/bindings implementation.
[2] Also, is there any AMQP framework available where I don't need to worry about the protocol details and just plug in my implementations for each of these components and expect it to work? (something like fuse for AMQP).
Update: I think zeromq isn't an AMQP compliant messaging system and doesn't have the concept of binding, so I think the 1st question could be ignored.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Apache Qpid http://qpid.apache.org 允许您构建自己的插件。有关如何构建插件的文档充其量也很少,但源工具包中有一些插件可以用作示例。
Apache Qpid http://qpid.apache.org allows you to build your own plugins. The docs for how to build a plugin are sparse at best, but there are plugins in the source kit you can use as examples.
RabbitMQ 也支持插件。下面是一个名为 Shovel 的示例,它是一个中继: http://www.lshift.net/blog/2010/02/01/rabbitmq-shovel-message-relocation-equipment
如果您愿意从源代码构建,您还可以编写自己的自定义交换。使其能够正确插入是我们的路线图。
我希望这有帮助!如果您有任何疑问,请随时发送电子邮件至rabbitmq-讨论列表。
干杯
亚历克西斯
RabbitMQ supports plugins too. Here is an example called Shovel, which is a relay: http://www.lshift.net/blog/2010/02/01/rabbitmq-shovel-message-relocation-equipment
You can also write your own custom exchanges if you are willing to build from source. Making this properly pluggable is on our roadmap.
I hope this helps! If you have questions please do not hesitate to email the rabbitmq-discuss list.
Cheers
alexis
[1] 是的,AMQP 支持已从 Zeromq 中删除。
[1] Yes, AMQP support was dropped from zeromq.