簡體   English   中英

數據未到達 QuantumLeap

[英]Data doesn't arrive to QuantumLeap

使用租戶創建訂閱后,JSON 數據不會到達 QuantumLeap。 我可以使用 Wireshark 查看數據流,並且數據不在應有的位置 go。 它應該 go 到 QuantumLeap 和 CrateDB,所以我可以在 Grafana 中可視化它。 這是在 MongoDB 中創建的訂閱:

{ "_id" : ObjectId("62e39ebb8aa7c71c4b3e6c03"), "expiration" : NumberLong("9223372036854775807"), "reference" : "http://quantumleap:8668/v2/notify", "custom" : false, "timeout" : NumberLong(0), "throttling" : NumberLong(5), "maxFailsLimit" : NumberLong(-1), "servicePath" : "/", "status" : "active", "statusLastChange" : 1659084475.8351967, "entities" : [ { "id" : "SensTemp.*", "isPattern" : "true" } ], "attrs" : [ "temperature" ], "metadata" : [ "dateCreated", "dateModified" ], "blacklist" : false, "onlyChanged" : false, "description" : "Notify QuantumLeap when the temperature changes", "conditions" : [ "temperature" ], "expression" : { "q" : "", "mq" : "", "geometry" : "", "coords" : "", "georel" : "" }, "format" : "normalized" }

但是數據沒有到達量子......請幫忙嗎?

是的,答案是我的 idPattern! 它應該作為實體創建中的 ID,就像在 MongoDB 中創建一樣! 問題解決了!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM