本文介绍了Kafka依赖关系-CCS与CE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要开发我的Kafka连接器,我需要添加一个connect-API依赖项.

我应该使用哪个?

例如mongodb连接器使用来自 maven中心

的connect-api

但是开发指南中的链接转到"> https://packages.confluent.io/maven/org/apache/kafka/connect-api/5.5.0-ccs/,在5.5.0-ccs旁边还有5.5.0-ce版本.

因此,目前,最新版本是:

这三个变体之间有什么区别?

我应该使用哪个?

解决方案

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:

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 02:56