LinMingQiang commented on code in PR #6093:
URL: https://github.com/apache/hudi/pull/6093#discussion_r919855218


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java:
##########
@@ -496,6 +496,12 @@ private FlinkOptions() {
   //  Compaction Options
   // ------------------------------------------------------------------------
 
+  public static final ConfigOption<Boolean> COMPACTION_BATCH_MODE_ENABLED = 
ConfigOptions
+          .key("compaction.batch.mode.enabled")
+          .booleanType()
+          .defaultValue(false) // default false for MOR write

Review Comment:
   But I need a parameter to tell `CompactFunction` which to use 
`asyncCompaction` or `syncCompaction`, Batch mode must use `syncCompaction`.
   



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

Reply via email to