This is an automated email from the ASF dual-hosted git repository.

ferenc-csaky pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/flink-connector-elasticsearch.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f256b8  [FLINK-20979][docs] Fix bulk-flush option disable value
0f256b8 is described below

commit 0f256b8ba91b4fb5e9b62e1871ce4eb2675ac489
Author: jlalwani-amazon <[email protected]>
AuthorDate: Wed Jun 3 09:26:14 2026 -0400

    [FLINK-20979][docs] Fix bulk-flush option disable value
---
 docs/content.zh/docs/connectors/table/elasticsearch.md | 6 +++---
 docs/content/docs/connectors/table/elasticsearch.md    | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/content.zh/docs/connectors/table/elasticsearch.md 
b/docs/content.zh/docs/connectors/table/elasticsearch.md
index 6ebef41..3ae78fd 100644
--- a/docs/content.zh/docs/connectors/table/elasticsearch.md
+++ b/docs/content.zh/docs/connectors/table/elasticsearch.md
@@ -159,7 +159,7 @@ CREATE TABLE myUserTable (
       <td style="word-wrap: break-word;">1000</td>
       <td>Integer</td>
       <td>每个批量请求的最大缓冲操作数。
-      可以设置为<code>'0'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。
+      可以设置为<code>'-1'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。
       </td>
     </tr>
     <tr>
@@ -168,7 +168,7 @@ CREATE TABLE myUserTable (
       <td style="word-wrap: break-word;">2mb</td>
       <td>MemorySize</td>
       <td>每个批量请求的缓冲操作在内存中的最大值。单位必须为 MB。
-      可以设置为<code>'0'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。
+      可以设置为<code>'-1'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。
       </td>
     </tr>
     <tr>
@@ -177,7 +177,7 @@ CREATE TABLE myUserTable (
       <td style="word-wrap: break-word;">1s</td>
       <td>Duration</td>
       <td>flush 缓冲操作的间隔。
-        
可以设置为<code>'0'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。注意,<code>'sink.bulk-flush.max-size'</code>和<code>'sink.bulk-flush.max-actions'</code>都设置为<code>'0'</code>的这种
 flush 间隔设置允许对缓冲操作进行完全异步处理(<code>elasticsearch-8</code>不支持如此配置,因其底层的异步 sink 
要求所有 flush 参数必须为正数)。
+        
可以设置为<code>'-1'</code>来禁用它(<code>elasticsearch-8</code>中必须大于0)。注意,<code>'sink.bulk-flush.max-size'</code>和<code>'sink.bulk-flush.max-actions'</code>都设置为<code>'0'</code>的这种
 flush 间隔设置允许对缓冲操作进行完全异步处理(<code>elasticsearch-8</code>不支持如此配置,因其底层的异步 sink 
要求所有 flush 参数必须为正数)。
       </td>
     </tr>
     <tr>
diff --git a/docs/content/docs/connectors/table/elasticsearch.md 
b/docs/content/docs/connectors/table/elasticsearch.md
index cae0a09..ad7c47e 100644
--- a/docs/content/docs/connectors/table/elasticsearch.md
+++ b/docs/content/docs/connectors/table/elasticsearch.md
@@ -173,7 +173,7 @@ Connector Options
       <td style="word-wrap: break-word;">1000</td>
       <td>Integer</td>
       <td>Maximum number of buffered actions per bulk request.
-      Can be set to <code>'0'</code> to disable it (must be greater than 0 in 
<code>elasticsearch 8</code>).
+      Can be set to <code>'-1'</code> to disable it (must be greater than 0 in 
<code>elasticsearch 8</code>).
       </td>
     </tr>
     <tr>
@@ -183,7 +183,7 @@ Connector Options
       <td style="word-wrap: break-word;">2mb</td>
       <td>MemorySize</td>
       <td>Maximum size in memory of buffered actions per bulk request. Must be 
in MB granularity.
-      Can be set to <code>'0'</code> to disable it (must be greater than 0 in 
<code>elasticsearch 8</code>).
+      Can be set to <code>'-1'</code> to disable it (must be greater than 0 in 
<code>elasticsearch 8</code>).
       </td>
     </tr>
     <tr>
@@ -193,7 +193,7 @@ Connector Options
       <td style="word-wrap: break-word;">1s</td>
       <td>Duration</td>
       <td>The interval to flush buffered actions.
-        Can be set to <code>'0'</code> to disable it (must be greater than 0 
in <code>elasticsearch 8</code>). Note, both 
<code>'sink.bulk-flush.max-size'</code> and 
<code>'sink.bulk-flush.max-actions'</code>
+        Can be set to <code>'-1'</code> to disable it (must be greater than 0 
in <code>elasticsearch 8</code>). Note, both 
<code>'sink.bulk-flush.max-size'</code> and 
<code>'sink.bulk-flush.max-actions'</code>
         can be set to <code>'0'</code> with the flush interval set allowing 
for complete async processing of buffered actions (not supported in 
<code>elasticsearch 8</code>, as its underlying async sink requires all flush 
parameters to be positive).
       </td>
     </tr>

Reply via email to