cyc0601 commented on issue #10282:
URL: https://github.com/apache/seatunnel/issues/10282#issuecomment-3713310944
this is my config:
env {
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 500
}
source {
SqlServer-CDC {
plugin_output = "customers"
username = "sa"
password = "Pass1234"
startup.mode = "initial"
database-names = ["db_source"]
table-names = ["db_source.dbo.tb_partition"]
base-url =
"jdbc:sqlserver://12.16.9.11:1433;databaseName=db_source;encrypt=true;trustServerCertificate=true;"
debezium {
include.schema.changes = true
}
schema-changes.enabled = true
}
}
sink {
Jdbc {
driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
url = "jdbc:sqlserver://12.16.9.11:1433;databaseName=db_dest"
user = sa
password = "11221"
generate_sink_sql = true
database = "db_dest"
table = "dbo.tb_partition"
batch_size = 100
primary_keys = ["id"]
schema_save_mode = "CREATE_SCHEMA_WHEN_NOT_EXIST"
data_save_mode = "APPEND_DATA"
max_retries = 10
max_commit_attempts = 5
multi_table_sink_replica = 2
}
}
--
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]