[Feature ]add oracle database sync (#156)

1. Add Oracle whole database synchronization, the specific process is the same as #141.
The example is as follows:
```shell
bin/flink run \
     -Dexecution.checkpointing.interval=10s\
     -Dparallelism.default=1\
     -c org.apache.doris.flink.tools.cdc.CdcTools\
     ./lib/flink-doris-connector-1.16-1.5.0-SNAPSHOT.jar\
     oracle-sync-database \
     --database db1\
     --oracle-conf hostname=127.0.0.1 \
     --oracle-conf port=1521 \
     --oracle-conf username=admin \
     --oracle-conf password="admin123" \
     --oracle-conf database-name=XE \
     --oracle-conf schema-name=ADMIN \
     --including-tables "tbl1|tbl2" \
     --sink-conf fenodes=127.0.0.1:8030 \
     --sink-conf username=root \
     --sink-conf password=\
     --sink-conf jdbc-url=jdbc:mysql://127.0.0.1:9030 \
     --sink-conf sink.label-prefix=label \
     --sink-conf sink.enable-2pc=false \
     --table-conf replication_num=1
```
Among them, oracle-conf is the configuration of flinkcdc oracle, which can be referred to [here](https://ververica.github.io/flink-cdc-connectors/master/content/connectors/oracle-cdc.html), other configurations are the same as MySQL #141

2. Add the parameter `--create-table-only`, when specified, only create the table without submitting the task.
13 files changed
tree: a40b762c7e0762b80840e977d38cc9c45743f271
  1. .github/
  2. .mvn/
  3. flink-doris-connector/
  4. .asf.yaml
  5. .gitignore
  6. .licenserc.yaml
  7. CODE_OF_CONDUCT.md
  8. CONTRIBUTING.md
  9. CONTRIBUTING_CN.md
  10. custom_env.sh.tpl
  11. env.sh
  12. LICENSE.txt
  13. mvnw
  14. NOTICE.txt
  15. README.md
README.md

Flink Connector for Apache Doris

License Join the Doris Community at Slack

Flink Doris Connector

Flink Doris Connector now support flink version from 1.11 to 1.17.

If you wish to contribute or use a connector from flink 1.13 (and earlier), please use the branch-for-flink-before-1.13

More information about compilation and usage, please visit Flink Doris Connector

License

Apache License, Version 2.0

How to Build

You need to copy customer_env.sh.tpl to customer_env.sh before build and you need to configure it before build.

git clone git@github.com:apache/doris-flink-connector.git
cd doris-flink-connector/flink-doris-connector
./build.sh

how-to-build

Report issues or submit pull request

If you find any bugs, feel free to file a GitHub issue or fix it by submitting a pull request.

Contact Us

Contact us through the following mailing list.

NameScope
dev@doris.apache.orgDevelopment-related discussionsSubscribeUnsubscribeArchives

Links