AMQP 0-9-1 对 1-0 [英] AMQP 0-9-1 vs 1-0

查看:39
本文介绍了AMQP 0-9-1 对 1-0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个新项目寻找消息服务,该项目必须将一些 C# 应用程序与一些 Java 应用程序连接起来.我真的很喜欢 RabbitMQ,因为它似乎对这两种技术都有惊人的支持.我在 RabbitMQ 规范中看到,目前只提供了 AMQP 0-9-1 模型.

I am looking for a messaging service for a new project that will have to interface some C# applications with some Java applications. I really like RabbitMQ because it seems to have amazing support for both technologies. I see in the RabbitMQ specs that at the moment only AMQP 0-9-1 model is provided.

那是节目的终结者吗?我应该向提供 AMQP 1.0 的 ActiveMQ 发送地址吗?

Is that a show stopper? Should I maybe address to ActiveMQ which provides AMQP 1.0?

感谢您的建议

推荐答案

您的问题在官方 中得到了完美解决协议概述:

尽管名称如此,但 AMQP 1.0 是一个完全不同的协议来自 AMQP 0-9-1/0-9/0-8,在网络上基本上不共享任何内容等级.AMQP 1.0 强加的语义要求要少得多;这是因此更容易向现有代理添加对 AMQP 1.0 的支持.这协议比 AMQP 0-9-1 复杂得多,并且有更少的客户端实现.

AMQP 1.0

Despite the name, AMQP 1.0 is a radically different protocol from AMQP 0-9-1 / 0-9 / 0-8, sharing essentially nothing at the wire level. AMQP 1.0 imposes far fewer semantic requirements; it is therefore easier to add support for AMQP 1.0 to existing brokers. The protocol is substantially more complex than AMQP 0-9-1, and there are fewer client implementations.

RabbitMQ 通过插件支持 AMQP 1.0.

RabbitMQ supports AMQP 1.0 via a plugin.

如果您的客户都实现了 AMQP 1.0 并且它为您提供了超过 0.9.x 的显着优势并且您根本无法没有它并且另一个代理提供比 RabbitMQ 更好的 1.0 支持(其插件在撰写本文时是实验性的"),那么是的,也许你应该看看另一个经纪人.否则,我怀疑它会对您产生很大的实际影响,而且 RabbitMQ 似乎正在努力添加完整的 1.0 支持,因此它可能是未来可行的升级路径.如果您自己不能指出具体的证据为什么 0.9.x 本身就是一个阻碍,我也不能.

If your clients all implement AMQP 1.0 and it offers significant advantages to you over 0.9.x and you simply cannot live without it and another broker offers better support for 1.0 than RabbitMQ (whose plugin is "experimental" at the time of writing), then yes, maybe you should look at another broker. Otherwise, I doubt it will make a big practical difference for you, and RabbitMQ is working on adding full 1.0 support it seems, so it may be a viable upgrade path in the future. If you yourself cannot point to concrete evidence why 0.9.x alone is a showstopper, I can't either.

这篇关于AMQP 0-9-1 对 1-0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆