You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/25 02:44:31 UTC

[GitHub] [flink] gaoyunhaii commented on a change in pull request #19211: [FLINK-26638][connectors/elasticsearch] update the Chinese document accordingly

gaoyunhaii commented on a change in pull request #19211:
URL: https://github.com/apache/flink/pull/19211#discussion_r834911346



##########
File path: docs/content.zh/docs/connectors/table/elasticsearch.md
##########
@@ -130,11 +130,28 @@ CREATE TABLE myUserTable (
       <td>用于连接 Elasticsearch 实例的密码。如果配置了<code>username</code>,则此选项也必须配置为非空字符串。</td>
     </tr>
     <tr>
-      <td><h5>sink.delivery-guarantee</h5></td>
-      <td>可选</td>
-      <td style="word-wrap: break-word;">NONE</td>
+      <td><h5>failure-handler</h5></td>
+      <td>optional</td>
+      <td>yes</td>
+      <td style="word-wrap: break-word;">fail</td>
       <td>String</td>
-      <td>提交时可选的传输保障策略。有效值为 <code>NONE</code> 或者 <code>AT_LEAST_ONCE</code>。</td>
+      <td>对 Elasticsearch 请求失败情况下的失败处理策略。有效策略为:
+      <ul>
+        <li><code>fail</code>:如果请求失败并因此导致作业失败,则抛出异常。</li>
+        <li><code>ignore</code>:忽略失败并放弃请求。</li>
+        <li><code>retry-rejected</code>:重新添加由于队列容量饱和而失败的请求。</li>
+        <li>自定义类名称:使用 ActionRequestFailureHandler 的子类进行失败处理。</li>
+      </ul>
+      </td>
+    </tr>
+    <tr>
+      <td><h5>sink.flush-on-checkpoint</h5></td>
+      <td>optional</td>
+      <td style="word-wrap: break-word;">true</td>
+      <td>Boolean</td>
+      <td>在进行 checkpoint 时是否保证刷出缓冲区中的数据。如果关闭这一选项,在进行checkpoint时 sink 将不再为所有进行

Review comment:
       Hi @hackergin the space is required to separate between Chinese and English words (https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications) 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org