Skip to content

Commit

Permalink
[FLINK-22824][connector-kafka] Drop usages of legacy planner in Kafka…
Browse files Browse the repository at this point in the history
… modules

This closes #16042.
  • Loading branch information
twalthr committed Jun 3, 2021
1 parent 9e8c551 commit 5de3ef9
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 102 deletions.
40 changes: 14 additions & 26 deletions flink-connectors/flink-connector-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ under the License.

<dependencies>

<!-- streaming-java dependencies -->
<!-- Core -->

<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -50,15 +50,16 @@ under the License.
<scope>provided</scope>
</dependency>

<!-- Add Kafka 2.x as a dependency -->
<!-- Connectors -->

<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-base</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Table ecosystem -->

<!-- Projects depending on this project won't depend on flink-table-*. -->
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -67,29 +68,17 @@ under the License.
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!-- A planner dependency won't be necessary once FLIP-32 has been completed. -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>

<!-- Kafka -->

<!-- Add Kafka 2.x as a dependency -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-base</artifactId>
<version>${project.version}</version>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
</dependency>

<!-- test dependencies -->
<!-- Tests -->

<dependency>
<groupId>org.apache.flink</groupId>
Expand Down Expand Up @@ -176,9 +165,8 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>

Expand Down
Loading

0 comments on commit 5de3ef9

Please sign in to comment.