Skip to content

Commit 33fbb42

Browse files
committed
[FLINK-10922] Exclude transitive kafka-clients dependency from base flink-connector-kafka
In order to satisfy dependency convergence we need to exclude the kafka-clients from the base flink-connector-kafka-x dependency in every flink-connector-kafka-y module. This closes apache#7140.
1 parent 5609868 commit 33fbb42

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

flink-connectors/flink-connector-kafka-0.10/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ under the License.
5353
<groupId>org.apache.kafka</groupId>
5454
<artifactId>kafka_${scala.binary.version}</artifactId>
5555
</exclusion>
56+
<exclusion>
57+
<groupId>org.apache.kafka</groupId>
58+
<artifactId>kafka-clients</artifactId>
59+
</exclusion>
5660
</exclusions>
5761
</dependency>
5862

flink-connectors/flink-connector-kafka-0.11/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ under the License.
5353
<groupId>org.apache.kafka</groupId>
5454
<artifactId>kafka_${scala.binary.version}</artifactId>
5555
</exclusion>
56+
<exclusion>
57+
<groupId>org.apache.kafka</groupId>
58+
<artifactId>kafka-clients</artifactId>
59+
</exclusion>
5660
</exclusions>
5761
</dependency>
5862

flink-connectors/flink-connector-kafka-0.9/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ under the License.
6060
<groupId>org.apache.kafka</groupId>
6161
<artifactId>kafka_${scala.binary.version}</artifactId>
6262
</exclusion>
63+
<exclusion>
64+
<groupId>org.apache.kafka</groupId>
65+
<artifactId>kafka-clients</artifactId>
66+
</exclusion>
6367
</exclusions>
6468
</dependency>
6569

0 commit comments

Comments
 (0)