apache / apache/iotdb

[求助]对iotdb的mqtt进行连接, invalid QoS: 3

未关闭
#8,063 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version

docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 -p 1883:1883 --name some-iotdb apache/iotdb:latest

### Describe the bug and provide the minimal reproduce step

使用docker启动iot
docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 -p 1883:1883 --name some-iotdb apache/iotdb:latest

开启mqtt服务

docker restart 服务

使用http://www.emqx.io/online-mqtt-client进行mqtt连接

后台日志显示invalid QoS: 3

### What did you expect to see?

建立mqtt连接成功或者mqtt的正确的连接方式

### What did you see instead?

![image](https://user-images.githubusercontent.com/40514681/202912592-820f5a11-1ab3-43df-a172-8d54b1fe337c.png)

![image](https://user-images.githubusercontent.com/40514681/202913144-8c60fbb2-cbd5-4d6b-85d4-c648693c9281.png)

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

贡献指南

打开贡献指南

调研方向

首先复现报告中的 Docker 设置并连接到 EMQX 在线 MQTT 客户端,然后检查产生的 `invalid QoS: 3` 日志。确认问题是由文档中说明的 MQTT 连接方法还是服务器的 QoS 处理导致的,并验证最终能够成功建立 MQTT 连接。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases, networking
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。