968 Star 7.7K Fork 3.2K

GVP张红元 / iot-dc3

 / 详情

怎么切换到TDengine数据库上面去呢?

待办的
创建于  
2024-02-02 15:31

输入图片说明

2024-02-02 15:17:15.112 DEBUG 84957 --- [ntContainer#2-1] [ 67] i.g.p.c.d.s.rabbit.PointValueReceiver : Point value, From: dc3.r.value.point.default/dc3-driver-mqtt, Received: PointValue( id=null, deviceId=1753231416285507585, pointId=1753231595982073858, value=22.10, rawValue=null, children=null, originTime=Fri Feb 02 15:17:15 CST 2024, createTime=Fri Feb 02 15:15:07 CST 2024 )
2024-02-02 15:17:18.689 ERROR 84957 --- [[T]dc3-thread-2] [ 135] .g.p.c.d.s.i.RepositoryHandleServiceImpl : Save point value to mongo error Timed out after 30000 ms while waiting to connect. Client view of cluster state is { type=UNKNOWN, servers=[{address=dc3-mongo:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Exception receiving message}, caused by {java.net.SocketException: Connection reset} }]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dc3-mongo:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Exception receiving message}, caused by {java.net.SocketException: Connection reset}}]
2024-02-02 15:17:20.124 DEBUG 84957 --- [ntContainer#1-1] [ 53] i.g.p.c.d.s.rabbit.DriverEventReceiver : Receive driver event: {
"type" : "HEARTBEAT",
"content" : "{"driverId":"1752973650320986113","status":"ONLINE","createTime":1706858240005}",
"createTime" : 1706858240005
}

数据还是保存到mongo连接去了 没走向TDengine

评论 (1)

JavaScar 创建了任务

看能不能帮忙贴一下从mongo到TDengine上的配置图 方便大家后面直接复制。

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
Java
1
https://gitee.com/pnoker/iot-dc3.git
git@gitee.com:pnoker/iot-dc3.git
pnoker
iot-dc3
iot-dc3

搜索帮助