SeanZhang2021 commented on issue #4624:
URL:
https://github.com/apache/incubator-seatunnel/issues/4624#issuecomment-1517169957
I forgot to upload my config, it's a batch job.
env {
execution.parallelism = 1
job.mode = "BATCH"
}
source {
OssFile {
path = "/test/20230315/"
bucket =
access_key =
access_secret =
endpoint =
file_format_type = "csv"
delimiter = "#"
schema {
fields {
ng_date = string
data = string
ip = string
channel = string
}
}
}
}
transform {
}
sink {
Jdbc {
url =
driver = "com.mysql.cj.jdbc.Driver"
user =
password =
query = "insert into test_table(ng_date,data) values(?,?)"
batch_size = 10000
batch_interval_ms = 500
}
}
--
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]