Skip to content
Permalink
Browse files
[improvement](spark-connector)(flink-connector) Modify the max num of…
… batch written by Spark/Flink connector each time. (#7485)

Increase the default batch size and flush interval
  • Loading branch information
hf200012 committed Dec 26, 2021
1 parent 6c0627a commit 6cf330973a715aadf353cf27f19635e0546cbc78
Showing 1 changed file with 2 additions and 2 deletions.
@@ -28,8 +28,8 @@
public class DorisExecutionOptions implements Serializable {
private static final long serialVersionUID = 1L;

public static final Integer DEFAULT_BATCH_SIZE = 1000;
public static final Integer DEFAULT_MAX_RETRY_TIMES = 3;
public static final Integer DEFAULT_BATCH_SIZE = 10000;
public static final Integer DEFAULT_MAX_RETRY_TIMES = 1;
private static final Long DEFAULT_INTERVAL_MILLIS = 10000L;

private final Integer batchSize;

0 comments on commit 6cf3309

Please sign in to comment.