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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]