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

How many messages are received for overlapping subscriptions?

    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

      From line 833 "Publish" WD12. Insert the following text

      When clients make subscriptions with topic filters that include wild cards, it is possible for a client's subscriptions to overlap so that a published message might match multiple filters. In this case the server MUST deliver the message to the client respecting the maximum QoS of all the matching subscriptions. In addition, the server MAY deliver further copies of the message, one for each additional matching subscription and respecting the subscription's QoS in each case.

      From line 966 "Subscribe Response" (In addition to wording relating to issue MQTT-59, add the following text)

      Where the subscription is not identical to an existing subscription, a new subscription is created and all matching retained publications are sent.

      Show
      From line 833 "Publish" WD12. Insert the following text When clients make subscriptions with topic filters that include wild cards, it is possible for a client's subscriptions to overlap so that a published message might match multiple filters. In this case the server MUST deliver the message to the client respecting the maximum QoS of all the matching subscriptions. In addition, the server MAY deliver further copies of the message, one for each additional matching subscription and respecting the subscription's QoS in each case. From line 966 "Subscribe Response" (In addition to wording relating to issue MQTT-59 , add the following text) Where the subscription is not identical to an existing subscription, a new subscription is created and all matching retained publications are sent.
    • Resolution:
      Hide

      Fixed in WD14

      Show
      Fixed in WD14

      Description

      A client has subscribed to a/+ with QoS2 and a/b with QoS1. A message is published to a/b. Does the client receive one or two messages? If one which QoS would apply?

        Attachments

          Activity

            People

            • Assignee:
              andrew_banks Andrew Banks (Inactive)
              Reporter:
              al.s-m Allan Stockdill-Mander (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: