Apache kafka 与 ActiveMQ 有什么区别 [英] What is the difference between Apache kafka vs ActiveMQ

查看:18
本文介绍了Apache kafka 与 ActiveMQ 有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究 Apache Kafka.我想知道哪个更好:KafkaActiveMQ.这两种技术的主要区别是什么?我想在 Spring MVC 中实现 Kafka.

I am working on Apache Kafka. I want to know which one is better: Kafka or ActiveMQ. What is the main difference between this two technologies? I want to implement Kafka in Spring MVC.

推荐答案

Kafka 和 ActiveMQ 可能有一些重叠,但它们最初是为不同的目的而设计的.所以比较它们就像比较苹果和橙子一样.

Kafka and ActiveMQ may have some overlaps but they were originally designed for different purposes. So comparing them is just like comparing an Apple and an Orange.

卡夫卡

Kafka 是一个分布式流媒体平台,具有非常好的水平扩展能力.它允许应用程序处理和重新处理磁盘上的流数据.由于它的高吞吐量,它通常用于实时数据流.

Kafka is a distributed streaming platform with very good horizontal scaling capability. It allows applications to process and re-process streamed data on disk. Due to it's high throughput it's commonly used for real-time data streaming.

ActiveMQ

ActiveMQ 是一个通用的消息代理,支持多种消息协议,如 AMQP、STOMP、MQTT.它支持更复杂的消息路由模式以及企业集成模式.一般来说,它主要用于应用程序/服务之间的集成,特别是在面向服务的架构中.

ActiveMQ is a general-purpose message broker that supports several messaging protocols such as AMQP, STOMP, MQTT. It supports more complicated message routing patterns as well as the Enterprise Integration Patterns. In general it is mainly used for integration between applications/services especially in a Service Oriented Architecture.

这篇关于Apache kafka 与 ActiveMQ 有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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