Browse Source

docs: Remove redundant space (#2105)

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
二手掉包工程师 1 year ago
parent
commit
eee1f624ee

+ 1 - 1
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": {},

+ 1 - 1
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": {},

+ 1 - 1
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": {},

+ 3 - 3
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://<YOUR_HOST_IP>:9092
      depends_on:
       - zookeeper
 ```

+ 1 - 1
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": {},

+ 1 - 1
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": {},

+ 1 - 1
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": {},

+ 1 - 1
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": {}