davidzollo commented on issue #8388:
URL: https://github.com/apache/seatunnel/issues/8388#issuecomment-2589174054
使用 MySQL CDC Connector 从 MySQL 数据库读取多表历史全量和 cdc 增量数据到 Doris
env {
job.mode = "STREAMING"
parallelism = 1
}
source {
MySQL-CDC {
base-url = "jdbc:mysql://datasource01:3306/qa_source"
username = "root"
password = "root@123"
table-names = ["qa_source.batch_mysql_to_doris",
"qa_source.batch_mysql_to_doris_offline_incremental_where"]
startup.mode = "latest"
}
}
sink {
Doris {
fenodes = "datasource01:8034"
query-port = 9034
username = root
password = "root@123"
schema_save_mode = "RECREATE_SCHEMA"
database = "e2e_sink"
table = "${table_name}_from_mysql"
sink.enable-2pc = "true"
sink.enable-delete = "true"
sink.label-prefix = "test_json"
doris.config = {
format="json"
read_json_by_line="true"
}
}
}
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]