Flink Iceberg Source 并行度推断源码解析
批读 Iceberg
Iceberg 提供了两个配置:
public static final ConfigOption<Boolean> TABLE_EXEC_ICEBERG_INFER_SOURCE_PARALLELISM =
ConfigOptions.key("table.exec.iceberg.infer-source-parallelism")
.booleanType()
.defaultValue(true)
.withDescription("If is false, parallelism of source are set by config.
" +
"If is true, source parallelism is inferred according to splits number.
");
public static final ConfigOption<Integer> TABLE_EXEC_ICEBERG_INFER_SOURCE_PARALLELISM_MAX =
ConfigOptions.key("table.exec.iceberg.infer-source-parallelism.max")
.intType()
.defaultValue(100)
.withDescription("Sets max infer parallelism for source operator.");
-
table.exec.iceberg.infer-source-parallelism:默认是 true,意味着 source 的并
上一篇:
IDEA上Java项目控制台中文乱码
