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

Is the topic string specified by a publisher immutable

    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

      The topic name in the message received by a subscribing client does not contain wild cards. The topic name received will match the subscribers topic filter, it may not be the same as that in the message as published by the publisher.

      Show
      The topic name in the message received by a subscribing client does not contain wild cards. The topic name received will match the subscribers topic filter, it may not be the same as that in the message as published by the publisher.
    • Resolution:
      Hide

      Resolved in WD10 line 769.

      Show
      Resolved in WD10 line 769.

      Description

      Under "Topic Name" for the PUBLISH packet there is currently a line that says "When received by a client that subscribed using wildcard characters, this string is the absolute topic specified by the originating publisher and not the subscription string used by the client." By saying "originating publisher" it excludes scenarios.
      Is this really intended as some current implementations such as RSMB do manipulate the topic string, for example with mountpoints a publish or subscribe topic string can have the mountpoint prepended.
      Equally a server may want to route between different topics, for example linking /a and /b such that a publish to /a is replicated to /b. If a client has subscribed to /b it would make more sense that the topic string in the PUBLISH it receives is /b rather than the originating PUBLISH's /a.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              al.s-m Allan Stockdill-Mander
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: