1
0

[HUDI-1865] Make embedded time line service singleton (#2899)

This commit is contained in:
Danny Chan
2021-05-27 13:38:33 +08:00
committed by GitHub
parent 4eb6ef8144
commit 7fed7352bd
4 changed files with 48 additions and 13 deletions

View File

@@ -219,6 +219,7 @@ public class StreamerUtil {
.logFileDataBlockMaxSize(conf.getInteger(FlinkOptions.WRITE_LOG_BLOCK_SIZE) * 1024 * 1024)
.logFileMaxSize(conf.getInteger(FlinkOptions.WRITE_LOG_MAX_SIZE) * 1024 * 1024)
.build())
.withEmbeddedTimelineServerReuseEnabled(true) // make write client embedded timeline service singleton
.withAutoCommit(false)
.withProps(flinkConf2TypedProperties(FlinkOptions.flatOptions(conf)));