没有针对QoS 为1以及QoS为2的处理逻辑
wanghengwen opened this issue · comments
wanghengwen commented
在项目中实际使用发现该问题,会导致QoS为1的topic服务端不停重复发送消息,例程中也没有提现
Luffy commented
这个需要自己按照协议在业务端实现。
QoS 1需要回复PUBACK
QoS 2需要PUBREC、PUBREL、PUBCOMP
🕹 MQTT Protocol Analysis and Coroutine Client for PHP. Support for 3.1, 3.1.1 and 5.0 versions of the MQTT protocol.
wanghengwen opened this issue · comments
在项目中实际使用发现该问题,会导致QoS为1的topic服务端不停重复发送消息,例程中也没有提现
这个需要自己按照协议在业务端实现。
QoS 1需要回复PUBACK
QoS 2需要PUBREC、PUBREL、PUBCOMP