apache / rocketmq-mqtt

Apache rocketmq
https://rocketmq.apache.org/
Apache License 2.0
181 stars 63 forks source link

A question about qos level #92

Closed shendongsd closed 2 years ago

shendongsd commented 2 years ago

Does the QoS of messages sent to consumers not need to be downgraded? image

YxAc commented 2 years ago

it indeed need downgrade to Min<pub, sub> which is described by mqtt-v3.1.1: "The QoS of Payload Messages sent in response to a Subscription MUST be the minimum of the QoS of the originally published message and the maximum QoS granted by the Server"

pingww commented 2 years ago

Currently server support QoS0、QoS1、QoS2