malz 1 anno fa
parent
commit
e97cd8020f
6 ha cambiato i file con 19 aggiunte e 13 eliminazioni
  1. 2 0
      Makefile
  2. 6 4
      etc/connections/connection.yaml
  3. 2 2
      etc/kuiper.yaml
  4. 1 1
      etc/mqtt_source.yaml
  5. 7 5
      etc/sources/edgex.yaml
  6. 1 1
      etc/sources/redis.yaml

+ 2 - 0
Makefile

@@ -11,6 +11,8 @@ TARGET ?= lfedge/ekuiper
 
 export KUIPER_SOURCE := $(shell pwd)
 
+run:
+	cd $(BUILD_PATH)/$(PACKAGE_NAME)/bin; ./kuiperd
 .PHONY: build
 build: build_without_edgex
 

+ 6 - 4
etc/connections/connection.yaml

@@ -1,6 +1,6 @@
 mqtt:
   localConnection: #connection key
-    server: "tcp://127.0.0.1:1883"
+    server: "tcp://192.168.150.253:8383"
     username: ekuiper
     password: password
     #certificationPath: /var/kuiper/xyz-certificate.pem
@@ -9,7 +9,7 @@ mqtt:
     #insecureSkipVerify: false
     #protocolVersion: 3
   cloudConnection: #connection key
-    server: "tcp://broker.emqx.io:1883"
+    server: "tcp://broker.emqx.io:8383"
     username: user1
     password: password
     #certificationPath: /var/kuiper/xyz-certificate.pem
@@ -32,6 +32,8 @@ edgex:
     server: 127.0.0.1
     port: 6379
     type: redis
+    optional:
+      password: 123456
     #  Below is optional configurations settings for mqtt
     #  type: mqtt
     #  optional:
@@ -49,8 +51,8 @@ edgex:
     #    SkipCertVerify: true/false
   mqttMsgBus: #connection key
     protocol: tcp
-    server: 127.0.0.1
-    port: 1883
+    server: 192.168.150.253
+    port: 8383
     type: mqtt
     optional:
       KeepAlive: "50"

+ 2 - 2
etc/kuiper.yaml

@@ -2,7 +2,7 @@ basic:
   # true|false, with debug level, it prints more debug info
   debug: false
   # true|false, if it's set to true, then the log will be print to console
-  consoleLog: false
+  consoleLog: true
   # true|false, if it's set to true, then the log will be print to log file
   fileLog: true
   # How many hours to split the file
@@ -16,7 +16,7 @@ basic:
   # REST service ip
   restIp: 0.0.0.0
   # REST service port
-  restPort: 9081
+  restPort: 59720
   # The global time zone from the IANA time zone database, or Local if not set.
   timezone: Local
   # true|false, when true, will check the RSA jwt token for rest api

+ 1 - 1
etc/mqtt_source.yaml

@@ -1,7 +1,7 @@
 #Global MQTT configurations
 default:
   qos: 1
-  server: "tcp://127.0.0.1:1883"
+  server: "tcp://192.168.150.253:8383"
   #decompression: zlib
   #username: user1
   #password: password

+ 7 - 5
etc/sources/edgex.yaml

@@ -28,11 +28,13 @@ default:
 #Override the global configurations
 redis_conf: #Conf_key
   protocol: redis
-  server: localhost
+  server: 127.0.0.1
   port: 6379
   topic: events
   type: redis
   messageType: event
+  optional:
+    password: 123456
 
 application_conf: #Conf_key
   protocol: tcp
@@ -44,8 +46,8 @@ application_conf: #Conf_key
 
 mqtt_conf: #Conf_key
   protocol: tcp
-  server: 127.0.0.1
-  port: 1883
+  server: 192.168.150.253
+  port: 8383
   topic: events
   type: mqtt
   optional:
@@ -53,8 +55,8 @@ mqtt_conf: #Conf_key
 
 share_conf: #Conf_key
   protocol: tcp
-  server: 127.0.0.1
-  port: 1883
+  server: 192.168.150.253
+  port: 8383
   topic: events
   type: mqtt
   connectionSelector: edgex.redisMsgBus

+ 1 - 1
etc/sources/redis.yaml

@@ -4,4 +4,4 @@ default:
   # currently supports string and list only
   datatype: "string"
 #  username: ""
-#  password: ""
+  password: 123456