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

    XMLWordPrintable

    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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: