From eee1f624eefdc93d0c9993f678b43a71d0108e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=89=8B=E6=8E=89=E5=8C=85=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=B8=88?= Date: Tue, 18 Jul 2023 10:25:21 +0800 Subject: [PATCH] docs: Remove redundant space (#2105) Signed-off-by: hi-rustin --- docs/en_US/guide/sinks/builtin/redis.md | 2 +- docs/en_US/guide/sinks/plugin/influx.md | 2 +- docs/en_US/guide/sinks/plugin/influx2.md | 2 +- docs/en_US/guide/sinks/plugin/kafka.md | 6 +++--- docs/zh_CN/guide/sinks/builtin/redis.md | 2 +- docs/zh_CN/guide/sinks/plugin/influx.md | 2 +- docs/zh_CN/guide/sinks/plugin/influx2.md | 2 +- docs/zh_CN/guide/sinks/plugin/kafka.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/en_US/guide/sinks/builtin/redis.md b/docs/en_US/guide/sinks/builtin/redis.md index 5bf9219dde..03c5b8e769 100644 --- a/docs/en_US/guide/sinks/builtin/redis.md +++ b/docs/en_US/guide/sinks/builtin/redis.md @@ -25,7 +25,7 @@ Below is a sample for selecting temperature greater than 50 degree, and some pro ```json { "id": "redis", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/en_US/guide/sinks/plugin/influx.md b/docs/en_US/guide/sinks/plugin/influx.md index fb7535c62f..d9435a548a 100644 --- a/docs/en_US/guide/sinks/plugin/influx.md +++ b/docs/en_US/guide/sinks/plugin/influx.md @@ -43,7 +43,7 @@ Below is a sample for selecting temperature great than 50 degree, and some profi ```json { "id": "influx", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/en_US/guide/sinks/plugin/influx2.md b/docs/en_US/guide/sinks/plugin/influx2.md index 9b6bc75a63..99a05a2c24 100644 --- a/docs/en_US/guide/sinks/plugin/influx2.md +++ b/docs/en_US/guide/sinks/plugin/influx2.md @@ -80,7 +80,7 @@ Below is a sample for selecting temperature great than 50 degree, and some profi ```json { "id": "influx", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/en_US/guide/sinks/plugin/kafka.md b/docs/en_US/guide/sinks/plugin/kafka.md index 51f60aa798..fb8e5d4733 100644 --- a/docs/en_US/guide/sinks/plugin/kafka.md +++ b/docs/en_US/guide/sinks/plugin/kafka.md @@ -73,12 +73,12 @@ Below is a sample for selecting temperature great than 50 degree, and some profi ```json { "id": "kafka", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {} }, - { + { "kafka":{ "brokers": "127.0.0.1:9092,127.0.0.2:9092", "topic": "test_topic", @@ -125,7 +125,7 @@ But kafka needs special attention `` KAFKA_CFG_ADVERTISED_LISTENERS `` needs to - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 - ALLOW_PLAINTEXT_LISTENER=yes - KAFKA_CFG_LISTENERS=PLAINTEXT://:9092 - - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://122.9.166.75:9092 + - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://:9092 depends_on: - zookeeper ``` diff --git a/docs/zh_CN/guide/sinks/builtin/redis.md b/docs/zh_CN/guide/sinks/builtin/redis.md index 1b3f115001..f2f5e89922 100644 --- a/docs/zh_CN/guide/sinks/builtin/redis.md +++ b/docs/zh_CN/guide/sinks/builtin/redis.md @@ -25,7 +25,7 @@ ```json { "id": "redis", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/zh_CN/guide/sinks/plugin/influx.md b/docs/zh_CN/guide/sinks/plugin/influx.md index 1fe87d6613..edff1eccf5 100644 --- a/docs/zh_CN/guide/sinks/plugin/influx.md +++ b/docs/zh_CN/guide/sinks/plugin/influx.md @@ -43,7 +43,7 @@ ```json { "id": "influx", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/zh_CN/guide/sinks/plugin/influx2.md b/docs/zh_CN/guide/sinks/plugin/influx2.md index 481cb58c60..b859b6cb1e 100644 --- a/docs/zh_CN/guide/sinks/plugin/influx2.md +++ b/docs/zh_CN/guide/sinks/plugin/influx2.md @@ -79,7 +79,7 @@ $(PLUGINS_CUSTOM): ```json { "id": "influx", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}, diff --git a/docs/zh_CN/guide/sinks/plugin/kafka.md b/docs/zh_CN/guide/sinks/plugin/kafka.md index dff2f95cfd..7d69eda89c 100644 --- a/docs/zh_CN/guide/sinks/plugin/kafka.md +++ b/docs/zh_CN/guide/sinks/plugin/kafka.md @@ -73,7 +73,7 @@ $(PLUGINS_CUSTOM): ```json { "id": "kafka", - "sql": "SELECT * from demo_stream where temperature > 50", + "sql": "SELECT * from demo_stream where temperature > 50", "actions": [ { "log": {}