You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/11/12 14:37:44 UTC
[apisix] 01/01: fix(docs): kafka-logger in Chinese
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch juzhiyuan-patch-1
in repository https://gitbox.apache.org/repos/asf/apisix.git
commit 08d65a4d74cf2b1ea7cad56a659af94d0dfe9a49
Author: 琚致远 <ju...@apache.org>
AuthorDate: Thu Nov 12 22:37:29 2020 +0800
fix(docs): kafka-logger in Chinese
fix https://github.com/apache/apisix/issues/2719
---
doc/zh-cn/plugins/kafka-logger.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/zh-cn/plugins/kafka-logger.md b/doc/zh-cn/plugins/kafka-logger.md
index 48b5adb..00eeddc 100644
--- a/doc/zh-cn/plugins/kafka-logger.md
+++ b/doc/zh-cn/plugins/kafka-logger.md
@@ -43,8 +43,8 @@
| ---------------- | ------- | ------ | -------------- | ------- | ------------------------------------------------ |
| broker_list | object | 必须 | | | 要推送的 kafka 的 broker 列表。 |
| kafka_topic | string | 必须 | | | 要推送的 topic。 |
-| key | string | 必须 | | | 发送数据的超时时间。 |
-| timeout | integer | 可选 | 3 | [1,...] | 用于加密消息的密钥。 |
+| key | string | 必须 | | | 用于加密消息的密钥。 |
+| timeout | integer | 可选 | 3 | [1,...] | 发送数据的超时时间。 |
| name | string | 可选 | "kafka logger" | | batch processor 的唯一标识。 |
| meta_format | string | 可选 | "default" | 枚举:`default`,`origin`| `default`:获取请求信息以默认的 JSON 编码方式。`origin`:获取请求信息以 HTTP 原始请求方式。[具体示例](#meta_format-参考示例)|
| batch_max_size | integer | 可选 | 1000 | [1,...] | 每批的最大大小 |