sunxiaojian commented on PR #5341:
URL: https://github.com/apache/seatunnel/pull/5341#issuecomment-1686340331
Before optimization:
env {
# You can set engine configuration here
execution.parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
}
source {
MySQL-CDC {
result_table_name = "customers_mysql_cdc"
server-id = 5660
username = “*****”
password = “******”
table-names = [“test_database.source_table"]
exactly_once = false
base-url = "jdbc:mysql://localhost:3306/test_database?useSSL=false"
catalog {
factory = MySQL
}
}
}
sink {
Console {
}
}

After optimization:
We can configure the data size for each batch processing through
'debezium.max.batch.size’,
env {
# You can set engine configuration here
execution.parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
}
source {
MySQL-CDC {
result_table_name = "customers_mysql_cdc"
server-id = 5660
debezium.max.batch.size = 300
username = “*****”
password = “******”
table-names = [“test_database.source_table"]
exactly_once = false
base-url = "jdbc:mysql://localhost:3306/test_database?useSSL=false"
catalog {
factory = MySQL
}
}
}
sink {
Console {
}
}

--
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]