Browse Source

doc: neuron integration tutorial revise and translation

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 years atrás
parent
commit
13501a737b

+ 8 - 0
docs/directory.json

@@ -118,6 +118,10 @@
 					]
 				},
 				{
+					"title": "使用 eKuiper 对 Neuron 采集的数据进行流式处理",
+					"path": "tutorials/neuron/neuron_integration_tutorial"
+				},
+				{
 					"title": "通过 OpenYurt 部署教程",
 					"path": "tutorials/deploy/openyurt_tutorial"
 				}
@@ -636,6 +640,10 @@
 					]
 				},
 				{
+					"title": "Stream processing of data collected by Neuron using eKuiper",
+					"path": "tutorials/neuron/neuron_integration_tutorial"
+				},
+				{
 					"title": "Deploy by OpenYurt",
 					"path": "tutorials/deploy/openyurt_tutorial"
 				}

BIN
docs/en_US/tutorials/neuron/data_monitor.png


+ 33 - 0
docs/en_US/tutorials/neuron/docker-compose.yml

@@ -0,0 +1,33 @@
+version: '3.4'
+
+services:
+  manager:
+    image: emqx/ekuiper-manager:1.5.0
+    container_name: ekuiper-manager
+    ports:
+      - "9082:9082"
+  ekuiper:
+    image: lfedge/ekuiper:1.5.0-slim
+    ports:
+      - "9081:9081"
+      - "127.0.0.1:20498:20498"
+    container_name: manager-ekuiper
+    hostname: manager-ekuiper
+    environment:
+      MQTT_SOURCE__DEFAULT__SERVER: "tcp://syno.home:1883"
+      KUIPER__BASIC__CONSOLELOG: "true"
+      KUIPER__BASIC__IGNORECASE: "false"
+    volumes:
+      - nng-ipc:/tmp
+  neuron:
+    image: neugates/neuron:2.0.1
+    ports:
+      - "127.0.0.1:7001:7001"
+      - "127.0.0.1:7000:7000"
+    container_name: manager-neuron
+    hostname: manager-neuron
+    volumes:
+      - nng-ipc:/tmp
+
+volumes:
+  nng-ipc:

BIN
docs/en_US/tutorials/neuron/eKuiper_to_neuron.png


BIN
docs/en_US/tutorials/neuron/neuron_ekuiper_app.png


File diff suppressed because it is too large
+ 255 - 0
docs/en_US/tutorials/neuron/neuron_integration_tutorial.md


BIN
docs/en_US/tutorials/neuron/ruleNAllResult.png


File diff suppressed because it is too large
+ 17 - 12
docs/zh_CN/tutorials/neuron/neuron_integration_tutorial.md