升级Kafka 版本至 2.11_1.1.1

This commit is contained in:
winger
2018-08-14 16:09:44 +08:00
committed by Chuanyi Li
parent 7ed6fcdf04
commit 2accfbf5db
2 changed files with 8 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>0.9.0.1</version>
<version>1.1.1</version>
</dependency>
<!-- junit -->

View File

@@ -25,11 +25,10 @@
<artifactId>snakeyaml</artifactId>
<version>1.17</version>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11</artifactId>
<version>0.9.0.1</version>
<version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
@@ -37,6 +36,12 @@
</exclusion>
</exclusions>
</dependency>
<!--kafka_2.11_1.1.1 exclusion掉了netty 的依赖,但CanalServerWithNetty 依赖 netty3,升级kafka至 1.1.1 需要显示加入,否则会启动失败 -->
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.2.2.Final</version>
</dependency>
</dependencies>
<build>