Kafka 依赖项 - ccs 与 ce [英] Kafka Dependencies - ccs vs ce
问题描述
要开发我的 Kafka 连接器,我需要添加一个 connect-API 依赖项.
我应该使用哪个?
例如mongodb连接器使用来自 maven central
的 connect-api但是来自开发指南的链接转到https://packages.confluent.io/maven/org/apache/kafka/connect-api/5.5.0-ccs/ 和 5.5.0-ccs
旁边还有 5.5.0-ce
版本.>
所以,此时最后的版本是:
- 2.5.0 来自 maven central
- 5.5.0-ccs 来自 package.confluent.io/maven
- 5.5.0-ce 来自 package.confluent.io/maven
这三种变体有什么区别?
我应该使用哪个?
5.x 版本指的是来自 Confluent 的 Releases 而 2.5.0 指的是开源 Apache Kafka 项目.
根据本文档ce
属于完整的 Confluent Platform,包括所有社区和商业组件包以及 ccs
到 Confluent 社区组件包.
有关 Confluent/Kafka 的许可证的文档将为您提供更多详情.
根据关于相互兼容性的 Confluent 文档:>
Confluent 平台和 Apache Kafka 兼容性
Confluent Platform Apache Kafka6.1.x 2.7.x6.0.x 2.6.x5.5.x 2.5.x5.4.x 2.4.x5.3.x 2.3.x……
Kafka-Connect 是开源 Apache Kafka 和两个 Confluent 软件包的一部分,因此使用哪个版本并不重要.与开源版本相比,融合包中可用的预构建/支持的连接器有所不同.当您计划构建自己的时,这无关紧要.
这篇博文很好地介绍了 Confluent Hub.
To develop my Kafka connector I need to add a connect-API dependency.
Which one I should use?
For example mongodb connector use connect-api from maven central
But links from dev guide go to https://packages.confluent.io/maven/org/apache/kafka/connect-api/5.5.0-ccs/ and beside 5.5.0-ccs
there is also 5.5.0-ce
version.
So, at this moment last versions are:
- 2.5.0 from maven central
- 5.5.0-ccs from packages.confluent.io/maven
- 5.5.0-ce from packages.confluent.io/maven
What difference between all three variants?
Which one I should use?
The 5.x version refer to Releases from Confluent whereas the 2.5.0 refers to the Open Source Apache Kafka project.
According to this documentation the ce
belongs to the complete Confluent Platform, including all community and commercial component packages and the ccs
to the Confluent Community component packages.
This doc on licenses around Confluent/Kafka will give you more details.
According to Confluent documentation on inter-compatibility:
Confluent Platform and Apache Kafka Compatibility
Confluent Platform Apache Kafka
6.1.x 2.7.x
6.0.x 2.6.x
5.5.x 2.5.x
5.4.x 2.4.x
5.3.x 2.3.x
... ...
Kafka-Connect is part of Open Source Apache Kafka and of both Confluent packages, so it would not matter which version to use. There is a difference when it comes to pre-build/supported connectors available in the confluent packages compared to Open source version. As you plan to build your own, it would not matter.
This blog post is a nice introduction to Confluent Hub.
这篇关于Kafka 依赖项 - ccs 与 ce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!