You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "JNSimba (via GitHub)" <gi...@apache.org> on 2023/06/29 02:41:15 UTC

[GitHub] [doris-flink-connector] JNSimba opened a new pull request, #156: [Feature ]add oracle database sync

JNSimba opened a new pull request, #156:
URL: https://github.com/apache/doris-flink-connector/pull/156

   ## Problem Summary:
   
   1. 增加Oracle整库同步,具体流程和 #141 相同。
   示例入下:
   ```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 \
       --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 
   ```
   其中oracle-conf中为flinkcdc oracle的配置,可参考[这里](https://ververica.github.io/flink-cdc-connectors/master/content/connectors/oracle-cdc.html),其它配置同MySQL #141 
   
   2. 增加参数`--create-table-only` ,指定时,仅创建表不提交任务。
   
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris-flink-connector] JNSimba commented on pull request #156: [Feature ]add oracle database sync

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba commented on PR #156:
URL: https://github.com/apache/doris-flink-connector/pull/156#issuecomment-1639167257

   CREATE TABLE persons(
   	 id VARCHAR2(10),
       first_name VARCHAR2(50) NOT NULL,
       last_name VARCHAR2(50) NOT NULL,
       PRIMARY KEY(id)
   );
   
   truncate table persons
   select * from persons
   insert into persons values('1001','测试','你才')


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris-flink-connector] zy-kkk merged pull request #156: [Feature ]add oracle database sync

Posted by "zy-kkk (via GitHub)" <gi...@apache.org>.
zy-kkk merged PR #156:
URL: https://github.com/apache/doris-flink-connector/pull/156


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org