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