luzongzhu commented on issue #6680:
URL: https://github.com/apache/seatunnel/issues/6680#issuecomment-2047011465
The new configuration after modifying the source code ,It is a table without
primary key @hailin0
env {
job.name = "${jobName}"
job.mode = "STREAMING"
checkpoint.interval = 5000
execution.parallelism = 1
}
source {
# This is a example source plugin **only for test and demonstrate the
feature source plugin**
Oracle-CDC {
result_table_name = "ST_GLOBAL_VIEW_NAME"
username = "logminer_user"
password = "oracle"
database-names = ["TEST101"]
schema-names = ["CUX"]
table-names = ["CUX.CUX_CREDIT_FINANCE230207"]
base-url = "jdbc:oracle:thin:@//10.0.0.101:1531/TEST101"
source.reader.close.timeout = 120000
table-names-config = [
{
table = "CUX.CUX_CREDIT_FINANCE230207"
primaryKeys = ["FINANCE_ID"]
}
]
exactly_once = true
}
}
transform {
}
sink {
Doris {
source_table_name = "ST_GLOBAL_VIEW_NAME"
sink.enable-2pc = "false"
fenodes = "10.16.115.6:8060"
username = "root"
password = "root123456"
table.identifier = "cdc.CUX_CREDIT_FINANCE230207"
sink.label-prefix = "sink"
sink.enable-delete = "true"
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]