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

查看:260
本文介绍了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 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相比,它给您提供了显着的优势,而您根本无法生存,并且另一个经纪人对Rabbit 1.0的支持比RabbitMQ更好(后者在撰写本文时是实验性的") ),那么是的,也许您应该看看其他经纪人.否则,我怀疑这将对您产生重大的实际影响,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天全站免登陆