-
Notifications
You must be signed in to change notification settings - Fork 63
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
共享订阅无法正常持续接受数据 #106
Comments
请按ISSUE模板要求把MQTT连接、发布、订阅相关参数以及ISSUE上下文补充完整。 |
Environment
Reproducible Steps
|
如果我这样做可以保持执行订阅数据,但是我不知道会发生什么
|
单订阅端每秒收2400条 512kb 大小的qos1消息? |
是的,qos1单订阅只能达到1200每秒 |
评估下你的资源条件能不能支撑单订阅连接2400 * 512KB ~= 1200MB/s的接收能力 |
抱歉 每条消息大约512byte |
参数已调整还是会出现:共享订阅无法正常持续接受数据 |
不使用共享订阅功能可以持续收到消息 |
共享订阅搭配通配符是否存在一定问题嘞? |
能在其他测试客户端复现吗?或可以提供下你完整的复现程序 |
代码地址:https://pan.baidu.com/s/1bpCC4rKMOHJvn2n3k3FAKw?pwd=qj4q 等候您的回复,感谢! |
共享订阅是MQTT5的能力,vertx mqtt client只支持3.1.1,你需要使用其他Client验证。 |
为什么您用vertx mqtt client 能够实现共享订阅呢。 |
使用eclipse.paho.mqttv5 还是存在无法持续订阅数据问题 |
cleanSession=false 可以保持持续订阅 |
前景:Bifromq-3.3.3
租户配置:
共享订阅客户端采用Vertx 4.5.11,
订阅topic,2两个客户端同时订阅一下两个topic
消息体:
The text was updated successfully, but these errors were encountered: