ocean-zhc commented on code in PR #9285:
URL: https://github.com/apache/seatunnel/pull/9285#discussion_r2083691619
##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-mysql/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/mysql/source/MySqlIncrementalSource.java:
##########
@@ -78,6 +85,92 @@ public String getPluginName() {
return IDENTIFIER;
}
+ @Override
+ protected StartupConfig getStartupConfig(ReadonlyConfig config) {
+ StartupMode startupMode = config.get(getStartupModeOption());
+
+ if (startupMode == StartupMode.TIMESTAMP) {
+ long timestamp;
+ String sourceDescription;
+
+ // 优先使用SourceOptions.STARTUP_TIMESTAMP
Review Comment:
+1
--
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]