Skip to content

Is there any solution for MQTT QoS 2 message pulish connection drop issue? #11842

Locked Answered by ansd
tsigcn asked this question in Questions
Discussion options

You must be logged in to vote

QoS 2 is unsupported in RabbitMQ, see https://www.rabbitmq.com/docs/mqtt#limitations

When a client sends a PUBLISH packet with QoS level 2, RabbitMQ will

  • downgrade to QoS 1 in MQTT 3.1 and 3.1.1
  • close the connection in MQTT 5.0.

Note that RabbitMQ implements the MQTT 5.0 behaviour according to the MQTT 5.0 spec:

If the Server included a Maximum QoS in its CONNACK response to a Client and it receives a PUBLISH packet with a QoS greater than this, then it uses DISCONNECT with Reason Code 0x9B (QoS not supported) as described in section 4.13 Handling errors.

Replies: 4 comments 16 replies

Comment options

You must be logged in to vote
9 replies
@tsigcn
Comment options

@tsigcn
Comment options

@michaelklishin
Comment options

@michaelklishin
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@michaelklishin
Comment options

@tsigcn
Comment options

@lukebakken
Comment options

@tsigcn
Comment options

@michaelklishin
Comment options

Answer selected by ansd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants