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

Topic name has an upper length limit of 32,767 characters ?

    XMLWordPrintable

    Details

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

      The Topic name MAY be any string which can be encoded as UTF-8 up to 65535 bytes in length.

      Show
      The Topic name MAY be any string which can be encoded as UTF-8 up to 65535 bytes in length.

      Description

      Snippet from Section 2.2 of v3.1 specification.
      ---------------------------------------------------------------
      The topic name is a UTF-encoded string. See the section on MQTT and UTF-8 for more information. Topic name has an upper length limit of 32,767 characters.

      Snippet in Appendix A -
      --------------------------------
      The following principles apply to the construction and content of a topic tree:
      > The length is limited to 64k but within that there are no limits to the number of
      levels in a topic tree.

      Should the topic length on PUBLISH command be restricted to 32,767 characters ?

        Attachments

          Activity

            People

            • Assignee:
              ragupta2 Rahul Gupta
              Reporter:
              ragupta2 Rahul Gupta
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: