lijian il y a 2 ans
Parent
commit
34cbd71e88
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/ruleEngine/nodes/mqtt_broker_node.go

+ 1 - 1
pkg/ruleEngine/nodes/mqtt_broker_node.go

@@ -12,7 +12,7 @@ import (
 	"time"
 )
 
-const defaultTopicTemp = "device_message/{{.VendorId}}/{{.DeviceId}}"
+const defaultTopicTemp = "/device_message/{{.VendorId}}/{{.DeviceId}}"
 const defaultTimeout = 5
 
 // MQTTBrokerNode Publish incoming message payload to the topic of the configured MQTT broker with QoS AT_LEAST_ONCE.