danny0405 commented on a change in pull request #3268: URL: https://github.com/apache/hudi/pull/3268#discussion_r668595692
########## File path: hudi-flink/src/main/java/org/apache/hudi/streamer/HoodieFlinkStreamer.java ########## @@ -119,22 +123,22 @@ public static void main(String[] args) throws Exception { .setParallelism(conf.getInteger(FlinkOptions.WRITE_TASKS)); if (StreamerUtil.needsAsyncCompaction(conf)) { pipeline.transform("compact_plan_generate", - TypeInformation.of(CompactionPlanEvent.class), - new CompactionPlanOperator(conf)) - .uid("uid_compact_plan_generate") - .setParallelism(1) // plan generate must be singleton - .rebalance() - .transform("compact_task", Review comment: Is your indentation correct ? ########## File path: hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java ########## @@ -286,6 +286,12 @@ private FlinkOptions() { .defaultValue(KeyGeneratorType.SIMPLE.name()) .withDescription("Key generator type, that implements will extract the key out of incoming record"); + public static final ConfigOption<Integer> INDEX_BOOTSTRAP_TASKS = ConfigOptions + .key("index_bootstrap.tasks") + .intType() + .defaultValue(4) + .withDescription("Parallelism of tasks that do index bootstrap, default is 4"); + public static final ConfigOption<Integer> BUCKET_ASSIGN_TASKS = ConfigOptions .key("bucket_assign.tasks") .intType() Review comment: write.bucket_assign.tasks ########## File path: hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java ########## @@ -286,6 +286,12 @@ private FlinkOptions() { .defaultValue(KeyGeneratorType.SIMPLE.name()) .withDescription("Key generator type, that implements will extract the key out of incoming record"); + public static final ConfigOption<Integer> INDEX_BOOTSTRAP_TASKS = ConfigOptions + .key("index_bootstrap.tasks") + .intType() Review comment: Follow the name pattern for all the writer options: `write.index_bootstrap.tasks`. -- 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...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org