问题描述
要开发我的Kafka连接器,我需要添加一个connect-API依赖项.
我应该使用哪个?
的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中心 来自的
- 5.5.0-ccs packages.confluent.io/maven
- 5.5.0-ce来自 packages.confluent.io/maven
这三个变体之间有什么区别?
我应该使用哪个?
5.x版本指的是Confluent发行版,而2.5.0版本指的是开源Apache Kafka项目. ccs
属于"Confluent平台"(许可),而ce
属于Confluent平台的社区版本.这份有关Confluent/Kafka的许可证的文档将为您提供更多详细信息./p>
根据相互兼容性上的Confluent文档,您拥有此功能关系:融合平台和Apache Kafka兼容性
Confluent Platform Apache Kafka
5.5.x 2.5.x
5.4.x 2.4.x
5.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. The ccs
belongs to the "Confluent Platform" (licensed) and the ce
to the community edition of the Confluent Platform. This doc on licenses around Confluent/Kafka will give you more details.
According to Confluent documentation on inter-compatibility you have this relation:Confluent Platform and Apache Kafka Compatibility
Confluent Platform Apache Kafka
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!