JNSimba commented on code in PR #343: URL: https://github.com/apache/doris-flink-connector/pull/343#discussion_r1590477508
########## flink-doris-connector/src/main/java/org/apache/doris/flink/table/DorisConfigOptions.java: ########## @@ -298,6 +298,12 @@ public class DorisConfigOptions { .defaultValue(false) .withDescription("Whether to use buffer cache for breakpoint resume"); + public static final ConfigOption<Double> MONGO_CDC_CREATE_SAMPLE_PERCENT = + ConfigOptions.key("mongo-cdc.create-sample-percent") + .doubleType() + .defaultValue(0.2) + .withDescription("mongo cdc sample percent"); + Review Comment: Would it be better to pass this parameter into cdctools, because it is not used elsewhere? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org