Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.1
    • Component/s: futures
    • Labels:
      None
    • Proposal:
      Hide

      A publisher is able to broadcast a message by publishing to a topic string containing the single-level wildcard '+'. When received by a subscribing client, the topic name will contain the absolute string specified by the originating publisher including the wildcards.
      In the earlier example, a message broadcast to "$META/Fruit/" matches any fruity topics, even those which come into use after the retained message was published. A message broadcast to "lights//off" would turn off all of the lights without needing a separate "lights/alloff" topic.

      Show
      A publisher is able to broadcast a message by publishing to a topic string containing the single-level wildcard '+'. When received by a subscribing client, the topic name will contain the absolute string specified by the originating publisher including the wildcards. In the earlier example, a message broadcast to "$META/Fruit/ " matches any fruity topics, even those which come into use after the retained message was published. A message broadcast to "lights/ /off" would turn off all of the lights without needing a separate "lights/alloff" topic.
    • Resolution:
      Hide

      Closed during V5.0 triage due to lack of interest.

      Show
      Closed during V5.0 triage due to lack of interest.

      Description

      One of the proposals for message format indications suggests a kind of convention using a parallel metadata topic tree. For example, a retained message on topic "$META/Fruit/Apples" could be used to indicate the format of messages on topic "Fruit/Apples". A client wishing to publish or subscribe on "Fruit/Apples" could first make a subscription on "$META/Fruit/Apples" to discover the message format. Using the existing pub/sub rules is inconvenient in this case.
      If I want to use the same message format information for all fruity topics, I don't want to publish separate messages on each of "$META/Fruit/Apples", "$META/Fruit/Mangoes" and so on. If I publish on "$META/Fruit", it would not be sufficient to subscribe to "$META/Fruit/Apples" to discover the message format. What I want is a way to publish a message for all fruits.
      Another example comes from the IoT domain. Let's say that I have connected lights subscribing to "lights/<light-id>/off" and each light turns off when it receives a message to its topic. If I want to turn off all lights at once, I could define another topic "lights/alloff" and get each light to make a second subscription. Alternatively, I could publish one message to all lights.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew_schofield Andrew Schofield (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: