RocketMQ vs. ActiveMQ vs. Kafka

请注意,本文档由 RocketMQ 团队编写。尽管理想是对技术和功能进行公正的比较,但作者的专业知识和偏见显然有利于 RocketMQ。

下表是一个方便的快速参考,可让您一目了然地发现 RocketMQ 及其最受欢迎的替代品之间的差异。

消息产品客户端 SDK协议和规范订购信息预定消息批量消息广播消息消息过滤器服务器触发的重新交付消息存储消息追溯消息优先级高可用性和故障转移消息跟踪配置管理和运营工具
Active MQJava、.NET、C++ 等。推送模型,支持 OpenWire、STOMP、AMQP、MQTT、JMSExclusive Consumer 或 Exclusive Queues 可以保证排序支持的不支持支持的支持的不支持使用 JDBC 和高性能日志支持非常快速的持久化,例如 levelDB、kahaDB支持的支持的支持,取决于存储,如果使用 levelDB 则需要 ZooKeeper 服务器不支持默认配置为低级,用户需优化配置参数支持的
KafkaJava、Scala 等。拉取模型,支持TCP确保分区内消息的排序不支持支持,带有异步生产者不支持支持,可以使用Kafka Streams过滤消息不支持高性能文件存储支持的偏移量指示不支持支持,需要 ZooKeeper 服务器不支持Kafka 使用键值对格式进行配置。这些值可以从文件或以编程方式提供。支持,使用终端命令公开核心指标
RocketMQJava、C++、围棋拉取模型,支持 TCP、JMS、OpenMessaging确保消息的严格排序,并且可以优雅地横向扩展支持的支持,具有同步模式以避免消息丢失支持的支持的基于 SQL92 的属性过滤器表达式支持的高性能和低延迟的文件存储支持的时间戳和偏移量两种表示不支持支持的主从模型,无需其他套件支持的开箱即用,用户只需注意一些配置支持的、丰富的 Web 和终端命令以公开核心指标
Messaging ProductClient SDKProtocol and SpecificationOrdered MessageScheduled MessageBatched MessageBroadCast MessageMessage FilterServer Triggered RedeliveryMessage StorageMessage RetroactiveMessage PriorityHigh Availability and FailoverMessage TrackConfigurationManagement and Operation Tools
ActiveMQJava, .NET, C++ etc.Push model, support OpenWire, STOMP, AMQP, MQTT, JMSExclusive Consumer or Exclusive Queues can ensure orderingSupportedNot SupportedSupportedSupportedNot SupportedSupports very fast persistence using JDBC along with a high performance journal,such as levelDB, kahaDBSupportedSupportedSupported, depending on storage,if using levelDB it requires a ZooKeeper serverNot SupportedThe default configuration is low level, user need to optimize the configuration parametersSupported
KafkaJava, Scala etc.Pull model, support TCPEnsure ordering of messages within a partitionNot SupportedSupported, with async producerNot SupportedSupported, you can use Kafka Streams to filter messagesNot SupportedHigh performance file storageSupported offset indicateNot SupportedSupported, requires a ZooKeeper serverNot SupportedKafka uses key-value pairs format for configuration. These values can be supplied either from a file or programmatically.Supported, use terminal command to expose core metrics
RocketMQJava, C++, GoPull model, support TCP, JMS, OpenMessagingEnsure strict ordering of messages,and can scale out gracefullySupportedSupported, with sync mode to avoid message lossSupportedSupported, property filter expressions based on SQL92SupportedHigh performance and low latency file storageSupported timestamp and offset two indicatesNot SupportedSupported, Master-Slave model, without another kitSupportedWork out of box,user only need to pay attention to a few configurationsSupported, rich web and terminal command to expose core metrics

本文来源于:Motivation - Apache RocketMQ

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值