Apache Kafka 和 Camel 之间的区别(代理与集成) [英] Difference Between Apache Kafka and Camel (Broker vs Integration)

查看:25
本文介绍了Apache Kafka 和 Camel 之间的区别(代理与集成)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图理解像 Kafka 这样的东西和像 Camel 这样的东西之间的区别.据我了解,Camel 将为开发人员提供更多的抽象,而不必担心在某种程度上改变协议/系统.卡夫卡怎么会无法处理骆驼现在可以做的大部分事情?我正在阅读文档,似乎 Kafka 已经更新/升级到足以稍微摆脱仅作为消息代理的境地.我想我的问题真的会归结为 Kafka 在未来证明系统方面与 Camel 相比如何,以及 Kafka 在哪​​些方面不如 Camel?我的印象是 Kafka 不会随着系统的增长而扩展.

I am trying to understand the differences between something like Kafka and something like Camel. To my understanding Camel would provide much more abstraction for developers without having to worry about changing protocols/systems to some extent. How would Kafka not be able to handle most of what Camel can do now? I am reading through the documentation and it seems like Kafka has been updated/upgraded enough to slightly break away from being a message broker only. I guess my question would really come down to how does Kafka compare to Camel in regards to future proofing systems and where does Kafka fall short of Camel? I am under the impression that Kafka doesn't scale as well as a system grows.

这严格基于消息.围绕 Camel 的文档清楚地表明它基于企业集成模式,但我深入研究 Kafka 文档,可以实现相同的模式.我错过了什么吗?

This is strictly based around messages.The documentation surrounding Camel makes it very clear that it's based around Enterprise Integration Patterns, but the deeper I dive into Kafka documentation the same patterns can be implemented. Am I missing something?

推荐答案

Apache Kafka :是一个流处理平台.它基于可大规模扩展的发布订阅消息队列架构.还有许多其他基于 JMS 发布订阅模型的平台,它们可以做同样的事情(有一些例外).一些最受欢迎的是 Apache-Activemq、RabbitMq

Apache Kafka : Is a streaming processing platform. It is based on massively scalable publish subscribe message queue architecture. There are many other platforms which are based on JMS publish subscribe model, which could do the same(with some exceptions). Some of the most popular are Apache-Activemq, RabbitMq

Apache Camel :是一个面向消息的中间件.它实现了几乎所有的企业集成模式.

Apache Camel : Is a message oriented middleware. It has implemented almost all the Enterprise Integration Patterns.

您可以将 Apache Camel 与 Apache Kafka 一起使用.或者,您也可以在没有 Apache Camel 的情况下使用 Apache Kafka.

You can use Apache Camel with Apache Kafka. Or you can use Apache Kafka without Apache Camel also.

这篇关于Apache Kafka 和 Camel 之间的区别(代理与集成)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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