简体   繁体   English

在融合存储库中找不到kafka库

[英]Can't find kafka library in confluent repository

I am using confluent and according to the official document, I only have to configure below in pom.xml like this: 我使用的是合流系统,根据官方文档,我只需要像下面这样在pom.xml中进行配置:

<repositories>
        <repository>
            <id>confluent</id>
            <url>http://packages.confluent.io/maven/</url>
        </repository>
        <!-- further repository entries here -->
</repositories>


<dependencies>
       <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka_2.11</artifactId>
            <!-- For CP 3.1.0 -->
            <version>0.10.1.0-cp1</version>
        </dependency>
</dependencies>

But seems kafka_2.11 with version 0.10.1.0-cp1 does not exits. 但是似乎没有退出版本为0.10.1.0-cp1的kafka_2.11。 The website http://packages.confluent.io/maven/ cannot be reached too. 也无法访问http://packages.confluent.io/maven/网站。 How can I get it? 我怎么才能得到它?

在此处输入图片说明 在此处输入图片说明

I am using below maven dependancy its working fine for me : 我正在使用以下Maven依赖关系对我来说很好:

   <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>connect-api</artifactId>
            <version>0.10.2.0-cp1</version>
   </dependency>



 <repository>
            <id>confluent</id>
            <name>Confluent</name>
            <url>http://packages.confluent.io/maven/</url>
 </repository>

Hopefully this will help 希望这会有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM