This commit is contained in:
joy.zhou
2019-07-15 19:15:02 +08:00
parent bc89aab452
commit 0980109fdf

View File

@@ -94,7 +94,7 @@ func Publish(e *plugins.Elements) {
if err != nil { if err != nil {
log.Error("publish kafka error: ", zap.Error(err)) log.Error("publish kafka error: ", zap.Error(err))
} }
fmt.Println("------------") fmt.Println("------------", topic)
match, _ := regexp.MatchString(_ThingModelTopicRegexp, topic) match, _ := regexp.MatchString(_ThingModelTopicRegexp, topic)
if match { if match {