wcc1433 commented on issue #8049:
URL: https://github.com/apache/seatunnel/issues/8049#issuecomment-2771434956
我也遇到了这个问题,mysql 数据同步到 Paimon。
环境:seatunnel zeta 引擎,paimon on oss,版本:1.0.1
配置:
env {
parallelism = 1
job.mode = "BATCH"
}
source {
Jdbc {
url = "jdbc:mysql://----------------:3306/platform-sync"
driver = "com.mysql.cj.jdbc.Driver"
connection_check_timeout_sec = 100
user = "-------"
password = "-----------"
table_list = [
{ table_path = "platform-sync.t_platform" },
{ table_path = "platform-sync.t_platform_account" }
]
}
}
sink {
Paimon {
warehouse = "s3a://flink-cluster-k8s/test_paimon"
database = "ods_platform"
table="${table_name}"
paimon.hadoop.conf = {
fs.s3a.access-key=-------------
fs.s3a.secret-key=-------------------------
fs.s3a.endpoint=oss-cn-hangzhou.aliyuncs.com
fs.s3a.path.style.access=true
fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider
}
}
}
--
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]