You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ji...@apache.org on 2024/04/26 08:59:53 UTC
(flink-cdc) branch master updated: [FLINK-35235][pipeline-connector][kafka] Fix missing dependencies in the uber jar of Kafka pipeline sink
This is an automated email from the ASF dual-hosted git repository.
jiabaosun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git
The following commit(s) were added to refs/heads/master by this push:
new ec643c9dd [FLINK-35235][pipeline-connector][kafka] Fix missing dependencies in the uber jar of Kafka pipeline sink
ec643c9dd is described below
commit ec643c9dd7365261f3cee620d4d6bd5d042917e0
Author: Kunni <lv...@alibaba-inc.com>
AuthorDate: Fri Apr 26 16:59:48 2024 +0800
[FLINK-35235][pipeline-connector][kafka] Fix missing dependencies in the uber jar of Kafka pipeline sink
---
.../flink-cdc-pipeline-connector-kafka/pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-kafka/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-kafka/pom.xml
index 0b0c6f687..5be032a76 100644
--- a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-kafka/pom.xml
+++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-kafka/pom.xml
@@ -83,11 +83,21 @@ limitations under the License.
</goals>
<configuration>
<shadeTestJar>false</shadeTestJar>
+ <artifactSet>
+ <includes>
+ <include>org.apache.kafka:*</include>
+ <include>org.apache.flink:flink-connector-kafka</include>
+ </includes>
+ </artifactSet>
<relocations>
<relocation>
<pattern>org.apache.kafka</pattern>
<shadedPattern>org.apache.flink.cdc.connectors.kafka.shaded.org.apache.kafka</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>org.apache.flink.connector.kafka</pattern>
+ <shadedPattern>org.apache.flink.cdc.connectors.kafka.shaded.org.apache.flink.connector.kafka</shadedPattern>
+ </relocation>
</relocations>
</configuration>
</execution>