Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-88

Clarify semantics of a SUBSCRIBE that contains multiple Topic Filters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.1
    • Component/s: core
    • Labels:
      None
    • Proposal:
      Hide

      Add the following text into the description of SUBSCRIBE

      If a server receives a SUBSCRIBE packet that contains multiple topic filters it MUST handle that packet as if it had received a sequence of multiple SUBSCRIBE packets, except that it combines their responses into a single SUBACK response.

      Add the following text to the description of UNSUBSCRIBE

      If a server receives an UNSUBSCRIBE packet that contains multiple topic filters it MUST handle that packet as if it had received a sequence of multiple UNSUBSCRIBE packets, except that it sends just one UNSUBACK response.

      Show
      Add the following text into the description of SUBSCRIBE If a server receives a SUBSCRIBE packet that contains multiple topic filters it MUST handle that packet as if it had received a sequence of multiple SUBSCRIBE packets, except that it combines their responses into a single SUBACK response. Add the following text to the description of UNSUBSCRIBE If a server receives an UNSUBSCRIBE packet that contains multiple topic filters it MUST handle that packet as if it had received a sequence of multiple UNSUBSCRIBE packets, except that it sends just one UNSUBACK response.
    • Resolution:
      Hide

      Fixed in WD14

      Show
      Fixed in WD14

      Description

      The Subscribe packet is allowed to contain more than one Topic Filter. It is not clear whether

      1. This is just a convenience, allowing clients to combine multiple subscribe requests into a single Control Packet, thus saving network traffic, or
      2. There is some additional semantic implied by the presence of two or more topic filters in a single packet (e.g. that they must all be granted if any of them is granted)

        Attachments

          Activity

          Hide
          andrew_banks Andrew Banks (Inactive) added a comment -

          Is the action atomic, if there is a partial failure do all of the subscribe , requests get cancelled?
          What if one of the filters existed previously will a partial failure of the new request affect an existing subscription?

          Show
          andrew_banks Andrew Banks (Inactive) added a comment - Is the action atomic, if there is a partial failure do all of the subscribe , requests get cancelled? What if one of the filters existed previously will a partial failure of the new request affect an existing subscription?
          Hide
          coppen Richard Coppen (Inactive) added a comment -

          TC approve proposal on TC call 10.10.2013
          Proposed Raph Cohn, Seconded Rahul Gupta

          Show
          coppen Richard Coppen (Inactive) added a comment - TC approve proposal on TC call 10.10.2013 Proposed Raph Cohn, Seconded Rahul Gupta
          Hide
          coppen Richard Coppen (Inactive) added a comment -

          fixed in WD15

          Show
          coppen Richard Coppen (Inactive) added a comment - fixed in WD15

            People

            • Assignee:
              andrew_banks Andrew Banks (Inactive)
              Reporter:
              peterniblett Peter Niblett (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: