OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (MQTT-86) Inconsistency in RETAIN description in WD-12, section 2.2.2.3


    [ http://tools.oasis-open.org/issues/browse/MQTT-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35101#action_35101 ] 

Peter Niblett commented on MQTT-86:
-----------------------------------

This is related to issue MQTT-19, the resolution of which introduced the second paragraph ( A PUBLISH Packet with a retain flag to set to 1 and a payload containing zero bytes will be processed as normal by the server and sent to clients with a subscription matching the topic name. Additionally, any existing retained publication with the same topic name will be removed and any future subscribers for the topic will not receive a retained publication. As normal means that the retained bit is not set in the message received by existing clients.)



1. The intention of MQTT-19 was that this would replace the first paragraph (A server MAY delete a retained message if it receives a message with a zero-length payload and the Retain flag set on the same topic.) which was inherited from the input spec, so, I agree that that paragraph should be deleted

2. I agree that the "will be removed" should be "MUST be removed".

> Inconsistency in RETAIN description in WD-12, section 2.2.2.3
> -------------------------------------------------------------
>
>                 Key: MQTT-86
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-86
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Bug
>          Components: edits
>    Affects Versions: 3.1.1
>            Reporter: Andrew Schofield
>            Assignee: Richard Coppen
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> Section 2.2.2.3 in WD-12 currently contains the following text:
> "A server MAY delete a retained message if it receives a message with a zero-length payload and the Retain flag set on the same topic.
> A PUBLISH Packet with a retain flag to set to 1 and a payload containing zero bytes will be processed as normal by the server and sent to clients with a subscription matching the topic name. Additionally, any existing retained publication with the same topic name will be removed and any future subscribers for the topic will not receive a retained publication. As normal means that the retained bit is not set in the message received by existing clients."
> The second of these paragraphs says that the retained publication *will* be removed, while the first says MAY.
> Actually, I just want to ensure that we remove the inconsistency, but I have a preference for the second paragraph.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]