ruanhang1993 commented on code in PR #3295:
URL: https://github.com/apache/flink-cdc/pull/3295#discussion_r1619789988
##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/org/apache/flink/cdc/connectors/mysql/table/MySqlTableSourceFactory.java:
##########
@@ -113,6 +113,8 @@ public DynamicTableSource createDynamicTableSource(Context
context) {
validateIntegerOption(MySqlSourceOptions.CONNECT_MAX_RETRIES,
connectMaxRetries, 0);
validateDistributionFactorUpper(distributionFactorUpper);
validateDistributionFactorLower(distributionFactorLower);
+ validateDurationOption(
+ MySqlSourceOptions.CONNECT_TIMEOUT, connectTimeout,
Duration.ofMillis(250));
Review Comment:
Please add this limit to the docs and the description of this option.
--
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]