Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-37216] Default MAX_BATCH_SIZE_IN_BYTES should be greater than MAX_RECORD_SIZE_IN_BYTES in ElasticsearchDataSinkOptions. #3891

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Pipeline Connector Options
<tr>
<td>batch.size.max.bytes</td>
<td>optional</td>
<td style="word-wrap: break-word;">5242880</td>
<td style="word-wrap: break-word;">52428800</td>
<td>Long</td>
<td>每个批量请求的缓冲操作在内存中的最大值(以byte为单位)。</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Pipeline Connector Options
<tr>
<td>batch.size.max.bytes</td>
<td>optional</td>
<td style="word-wrap: break-word;">5242880</td>
<td style="word-wrap: break-word;">52428800</td>
<td>Long</td>
<td>The maximum size of batch requests in bytes.</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class ElasticsearchDataSinkOptions {
public static final ConfigOption<Long> MAX_BATCH_SIZE_IN_BYTES =
ConfigOptions.key("batch.size.max.bytes")
.longType()
.defaultValue(5L * 1024L * 1024L)
.defaultValue(50L * 1024L * 1024L)
.withDescription("The maximum size of batch requests in bytes.");

/** The maximum time to wait for incomplete batches before flushing. */
Expand Down
Loading