Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqtt通过restful保存数据, 部分数据丢失 #25820

Closed
sanmuTHINK opened this issue May 16, 2024 · 2 comments
Closed

mqtt通过restful保存数据, 部分数据丢失 #25820

sanmuTHINK opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sanmuTHINK
Copy link

Bug Description

流程是这样的

  1. 生产端 循环300条记录publish 给MQTT
  2. MQTT 通过restful post给tdengine 做备份
  3. 消费端消费MQTT ,存入数据库

出现问题:
查询tdengine 丢失部分数据.
tdengine截图

消费端查询数据完整.
消费端截图

Environment (please complete the following information):

  • OS: [window server 2019]
  • TDengine Version [3.0.7.1]

Additional Context
Add any other context about the problem here.

@sanmuTHINK sanmuTHINK added the bug Something isn't working label May 16, 2024
@sanmuTHINK
Copy link
Author

做过以下排查

  1. Emqx 的数据桥接到tdengine , 没有发送失败记录,全部成功
  2. 开启enableRecordHttpSql日志, 是有insert 语句的.

@yu285
Copy link
Contributor

yu285 commented May 17, 2024

有没有时间戳相同导致被覆盖更新的隐患?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants