Skip to content

Commit a6cabd0

Browse files
author
linjc13
committed
[FLINK-36796][pipeline-connector][oracle]add oracle pipeline connector.
1 parent 1796eb6 commit a6cabd0

50 files changed

Lines changed: 8209 additions & 27 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/content.zh/docs/connectors/pipeline-connectors/oracle.md

Lines changed: 446 additions & 0 deletions
Large diffs are not rendered by default.

docs/content/docs/connectors/pipeline-connectors/oracle.md

Lines changed: 455 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
19+
<project xmlns="http://maven.apache.org/POM/4.0.0"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<parent>
23+
<groupId>org.apache.flink</groupId>
24+
<artifactId>flink-cdc-pipeline-connectors</artifactId>
25+
<version>${revision}</version>
26+
</parent>
27+
<modelVersion>4.0.0</modelVersion>
28+
29+
<artifactId>flink-cdc-pipeline-connector-oracle</artifactId>
30+
31+
<properties>
32+
</properties>
33+
34+
<dependencies>
35+
<dependency>
36+
<groupId>io.debezium</groupId>
37+
<artifactId>debezium-core</artifactId>
38+
<version>${debezium.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>io.debezium</groupId>
42+
<artifactId>debezium-ddl-parser</artifactId>
43+
<version>${debezium.version}</version>
44+
<exclusions>
45+
<exclusion>
46+
<artifactId>debezium-core</artifactId>
47+
<groupId>io.debezium</groupId>
48+
</exclusion>
49+
</exclusions>
50+
</dependency>
51+
52+
<dependency>
53+
<groupId>org.apache.flink</groupId>
54+
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
55+
<version>${flink.version}</version>
56+
<scope>test</scope>
57+
</dependency>
58+
59+
<dependency>
60+
<groupId>org.apache.flink</groupId>
61+
<artifactId>flink-table-runtime</artifactId>
62+
<version>${flink.version}</version>
63+
<scope>test</scope>
64+
</dependency>
65+
66+
<dependency>
67+
<groupId>org.apache.flink</groupId>
68+
<artifactId>flink-test-utils</artifactId>
69+
<version>${flink.version}</version>
70+
<scope>test</scope>
71+
</dependency>
72+
73+
<dependency>
74+
<groupId>org.apache.flink</groupId>
75+
<artifactId>flink-connector-test-utils</artifactId>
76+
<version>${flink.version}</version>
77+
<scope>test</scope>
78+
</dependency>
79+
80+
<dependency>
81+
<groupId>org.apache.flink</groupId>
82+
<artifactId>flink-core</artifactId>
83+
<version>${flink.version}</version>
84+
<type>test-jar</type>
85+
<scope>test</scope>
86+
</dependency>
87+
88+
<dependency>
89+
<groupId>org.apache.flink</groupId>
90+
<artifactId>flink-streaming-java</artifactId>
91+
<version>${flink.version}</version>
92+
<type>test-jar</type>
93+
<scope>test</scope>
94+
</dependency>
95+
96+
<dependency>
97+
<groupId>org.apache.flink</groupId>
98+
<artifactId>flink-table-common</artifactId>
99+
<version>${flink.version}</version>
100+
<type>test-jar</type>
101+
<scope>test</scope>
102+
</dependency>
103+
104+
<dependency>
105+
<groupId>org.apache.flink</groupId>
106+
<artifactId>flink-tests</artifactId>
107+
<version>${flink.version}</version>
108+
<type>test-jar</type>
109+
<scope>test</scope>
110+
</dependency>
111+
112+
<dependency>
113+
<groupId>org.apache.flink</groupId>
114+
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
115+
<version>${flink.version}</version>
116+
<type>test-jar</type>
117+
<scope>test</scope>
118+
</dependency>
119+
120+
<!-- test dependencies on TestContainers -->
121+
122+
<dependency>
123+
<groupId>org.testcontainers</groupId>
124+
<artifactId>oracle-xe</artifactId>
125+
<version>${testcontainers.version}</version>
126+
<scope>test</scope>
127+
</dependency>
128+
<!-- geometry dependencies -->
129+
<dependency>
130+
<groupId>com.esri.geometry</groupId>
131+
<artifactId>esri-geometry-api</artifactId>
132+
<version>${geometry.version}</version>
133+
<exclusions>
134+
<exclusion>
135+
<groupId>com.fasterxml.jackson.core</groupId>
136+
<artifactId>jackson-core</artifactId>
137+
</exclusion>
138+
</exclusions>
139+
</dependency>
140+
<dependency>
141+
<groupId>org.apache.flink</groupId>
142+
<artifactId>flink-connector-oracle-cdc</artifactId>
143+
<version>${parent.version}</version>
144+
</dependency>
145+
146+
<dependency>
147+
<groupId>com.jayway.jsonpath</groupId>
148+
<artifactId>json-path</artifactId>
149+
<version>${json-path.version}</version>
150+
<scope>test</scope>
151+
</dependency>
152+
<dependency>
153+
<groupId>org.apache.flink</groupId>
154+
<artifactId>flink-connector-test-util</artifactId>
155+
<version>${parent.version}</version>
156+
<scope>test</scope>
157+
</dependency>
158+
</dependencies>
159+
160+
<build>
161+
<plugins>
162+
<plugin>
163+
<groupId>org.apache.maven.plugins</groupId>
164+
<artifactId>maven-shade-plugin</artifactId>
165+
<version>3.2.4</version>
166+
<executions>
167+
<execution>
168+
<id>shade-flink</id>
169+
<phase>package</phase>
170+
<goals>
171+
<goal>shade</goal>
172+
</goals>
173+
<configuration>
174+
<shadeTestJar>false</shadeTestJar>
175+
<artifactSet>
176+
<includes>
177+
<include>io.debezium:debezium-api</include>
178+
<include>io.debezium:debezium-embedded</include>
179+
<include>io.debezium:debezium-core</include>
180+
<include>io.debezium:debezium-ddl-parser</include>
181+
<include>io.debezium:debezium-connector-oracle</include>
182+
<include>org.apache.flink:flink-connector-debezium</include>
183+
<include>org.apache.flink:flink-connector-oracle-cdc</include>
184+
<include>org.apache.flink:flink-cdc-base</include>
185+
<include>com.oracle.ojdbc:ojdbc8</include>
186+
<include>cn.easyproject:orai18n</include>
187+
<include>org.antlr:antlr4-runtime</include>
188+
<include>org.apache.kafka:*</include>
189+
<include>com.fasterxml.*:*</include>
190+
<include>com.google.guava:*</include>
191+
<include>com.esri.geometry:esri-geometry-api</include>
192+
<include>com.zaxxer:HikariCP</include>
193+
<!-- Include fixed version 30.1.1-jre-14.0 of flink shaded guava -->
194+
<include>org.apache.flink:flink-shaded-guava</include>
195+
</includes>
196+
</artifactSet>
197+
<filters>
198+
<filter>
199+
<artifact>org.apache.kafka:*</artifact>
200+
<excludes>
201+
<exclude>kafka/kafka-version.properties</exclude>
202+
<exclude>LICENSE</exclude>
203+
<!-- Does not contain anything relevant.
204+
Cites a binary dependency on jersey, but this is neither reflected in the
205+
dependency graph, nor are any jersey files bundled. -->
206+
<exclude>NOTICE</exclude>
207+
<exclude>common/**</exclude>
208+
</excludes>
209+
</filter>
210+
</filters>
211+
<relocations>
212+
<relocation>
213+
<pattern>org.apache.kafka</pattern>
214+
<shadedPattern>
215+
org.apache.flink.cdc.connectors.shaded.org.apache.kafka
216+
</shadedPattern>
217+
</relocation>
218+
<relocation>
219+
<pattern>org.antlr</pattern>
220+
<shadedPattern>
221+
org.apache.flink.cdc.connectors.shaded.org.antlr
222+
</shadedPattern>
223+
</relocation>
224+
<relocation>
225+
<pattern>com.fasterxml</pattern>
226+
<shadedPattern>
227+
org.apache.flink.cdc.connectors.shaded.com.fasterxml
228+
</shadedPattern>
229+
</relocation>
230+
<relocation>
231+
<pattern>com.google</pattern>
232+
<shadedPattern>
233+
org.apache.flink.cdc.connectors.shaded.com.google
234+
</shadedPattern>
235+
</relocation>
236+
<relocation>
237+
<pattern>com.esri.geometry</pattern>
238+
<shadedPattern>org.apache.flink.cdc.connectors.shaded.com.esri.geometry</shadedPattern>
239+
</relocation>
240+
<relocation>
241+
<pattern>com.zaxxer</pattern>
242+
<shadedPattern>
243+
org.apache.flink.cdc.connectors.shaded.com.zaxxer
244+
</shadedPattern>
245+
</relocation>
246+
</relocations>
247+
</configuration>
248+
</execution>
249+
</executions>
250+
</plugin>
251+
252+
<plugin>
253+
<groupId>org.apache.maven.plugins</groupId>
254+
<artifactId>maven-jar-plugin</artifactId>
255+
<executions>
256+
<execution>
257+
<id>test-jar</id>
258+
<goals>
259+
<goal>test-jar</goal>
260+
</goals>
261+
</execution>
262+
</executions>
263+
</plugin>
264+
</plugins>
265+
</build>
266+
267+
</project>

0 commit comments

Comments
 (0)