You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/04/19 17:53:00 UTC

[jira] [Updated] (ARTEMIS-3781) Send PUBREC on duplicate PUBLISH for MQTT QoS 2

     [ https://issues.apache.org/jira/browse/ARTEMIS-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram updated ARTEMIS-3781:
------------------------------------
    Description: 
The [MQTT 5|https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901237] (and 3.1.1) specification states:

bq. Until it has received the corresponding PUBREL packet, the receiver MUST acknowledge any subsequent PUBLISH packet with the same Packet Identifier by sending a PUBREC. It MUST NOT cause duplicate messages to be delivered to any onward recipients in this case [MQTT-4.3.3-10].

The broker prevents a duplicate message, but it doesn't response with a {{PUBREC}}.

> Send PUBREC on duplicate PUBLISH for MQTT QoS 2
> -----------------------------------------------
>
>                 Key: ARTEMIS-3781
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3781
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> The [MQTT 5|https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901237] (and 3.1.1) specification states:
> bq. Until it has received the corresponding PUBREL packet, the receiver MUST acknowledge any subsequent PUBLISH packet with the same Packet Identifier by sending a PUBREC. It MUST NOT cause duplicate messages to be delivered to any onward recipients in this case [MQTT-4.3.3-10].
> The broker prevents a duplicate message, but it doesn't response with a {{PUBREC}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)