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

The Term "Subscription" and its usage throughout the spec

    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

      New lines before 227 (WD13)

      Topic Filter. An expression contained in a Subscription, to indicate an interest in one ore more topics. It may include wildcard characters

      Line 228 (WD13)

      <<replace Subscription with the following>>

      A Subscription comprises a Topic Filter and its maximum QoS. A Subscription is associated with a single Session. A Session can contain more than one Subscription. Each Subscription within a session MUST have a different Topic Filter.

      Show
      New lines before 227 (WD13) Topic Filter. An expression contained in a Subscription, to indicate an interest in one ore more topics. It may include wildcard characters Line 228 (WD13) <<replace Subscription with the following>> A Subscription comprises a Topic Filter and its maximum QoS. A Subscription is associated with a single Session. A Session can contain more than one Subscription. Each Subscription within a session MUST have a different Topic Filter.

      Description

      We should make sure the spec has an agreed definition of the term "subscription" and uses it consistently,

      There is currently a definition in WD-12.. "The request made by a client to receive Payload Messages published by Clients. The Subscription contains a Topic Name which can include wild card characters so that it may match many Topic Names."

      This seems to make "Subscription" equvialent to "Subscribe" Control Packet,, whereas we probably want something that refers to the stateful object that is maintained by the server on behalf of the client. Also, even if we wanted it to mean that, a Subscribe Packet can contain more than one Topic Name, so the second sentence would be incorrect anyway

        Attachments

          Activity

            People

            • Assignee:
              ragupta2 Rahul Gupta
              Reporter:
              PeterNiblett Peter Niblett
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: