Skip to content

Commit

Permalink
[INLONG-8922][Sort] Add TubeMQ source and sink connector on flink 1.15 (
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycoderzf authored Oct 16, 2023
1 parent 4f9dab4 commit 12e1a46
Show file tree
Hide file tree
Showing 12 changed files with 1,821 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,13 @@
</includes>
<fileMode>0644</fileMode>
</fileSet>
<fileSet>
<directory>../inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/tubemq/target</directory>
<outputDirectory>inlong-sort/connectors</outputDirectory>
<includes>
<include>sort-connector-tubemq-v1.15-${project.version}.jar</include>
</includes>
<fileMode>0644</fileMode>
</fileSet>
</fileSets>
</assembly>
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<module>iceberg</module>
<module>mongodb-cdc</module>
<module>pulsar</module>
<module>tubemq</module>
</modules>

<properties>
Expand Down
107 changes: 107 additions & 0 deletions inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/tubemq/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.inlong</groupId>
<artifactId>sort-connectors-v1.15</artifactId>
<version>1.10.0-SNAPSHOT</version>
</parent>

<artifactId>sort-connector-tubemq-v1.15</artifactId>
<packaging>jar</packaging>
<name>Apache InLong - Sort-connector-tubemq</name>

<properties>
<inlong.root.dir>${project.parent.parent.parent.parent.parent.basedir}</inlong.root.dir>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.inlong</groupId>
<artifactId>tubemq-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-common</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${plugin.shade.version}</version>

<executions>
<execution>
<id>shade-flink</id>
<goals>
<goal>shade</goal>
</goals>
<phase>package</phase>

<configuration>

<artifactSet>
<includes>
<include>org.apache.inlong:*</include>
<include>com.fasterxml.*:*</include>
</includes>
</artifactSet>

<filters>
<filter>
<artifact>org.apache.inlong:sort-connector-*</artifact>
<includes>
<include>org/apache/inlong/**</include>
<include>META-INF/services/org.apache.flink.table.factories.Factory</include>
</includes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache.inlong.sort.base</pattern>
<shadedPattern>org.apache.inlong.sort.tubemq.shaded.org.apache.inlong.sort.base</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit 12e1a46

Please sign in to comment.