OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Updated: (MQTT-76) Should "+" be allowed at the beginning of the topic filter in a subscription?


     [ http://tools.oasis-open.org/issues/browse/MQTT-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Coppen updated MQTT-76:
-------------------------------

        Fix Version/s: 3.1.1
    Affects Version/s: 3.1.1
             Proposal: 
4.5.1.3 Single level wildcard
The plus sign ('+' 0x2B) is a wildcard character that matches only one topic level.

The single-level wildcard can be used at any level in the topic filter, including first and last levels. Where it is used it MUST occupy an entire level of the filter. It can be used at more than one level in the topic filter and can be used in conjunction with the multilevel wildcard.

[ First non-normative comment "For example, sport/tennis/+ matches...." unchanged ]

[Second non-normative comment has the following example added to cover the use of both + and # in a filter] :
 - +/tennis/# is valid 

Note to editors: remove literal player names and replace with some other example e.g., playerA , playerB

  was:
4.5.1.3 Single level wildcard
The plus sign ('+' 0x2B) is a wildcard character that matches only one topic level. 

The single-level wildcard can be used at any level in the topic filter. It can be used in conjunction with the multilevel wildcard. 
It MUST be the only character between two topic level separators, or the first level, or the last level, or on its own. 


Promoted Nicked proposal, previously read:

4.5.1.3 Single level wildcard
The plus sign ('+' 0x2B) is a wildcard character that matches only one topic level. 

The single-level wildcard can be used at any level in the topic filter. It can be used in conjunction with the multilevel wildcard. 
It MUST be the only character between two topic level separators, or the first level, or the last level, or on its own. 

> Should "+" be allowed at the beginning of the topic filter in a subscription?
> -----------------------------------------------------------------------------
>
>                 Key: MQTT-76
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-76
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.1.1
>            Reporter: Andrew Banks
>             Fix For: 3.1.1
>
>
> Draft09 says 
> 4.5.1.3 Single level wildcard
> The plus sign ('+' 0x2B) is a wildcard character that matches only one topic level. 
> The single-level wildcard can be used at any level in the topic filter. It can be used in conjunction with the multilevel wildcard. 
> It MUST be the only character between two topic level separators, or the last level, or on its own. 
> The input Specification says:
> The single-level wildcard can be used at any level in the topic tree, and in
> conjunction with the multilevel wildcard. It must be used next to the topic level
> separator, except when it is specified on its own. Therefore, + and finance/+ are
> both valid, but finance+ is not valid. The single-level wildcard can be used at the
> end of the topic tree or within the topic tree. For example, finance/+ and
> finance/+/ibm are both valid.
> Apparently the intent of the input specification was to mean "either end of the topic tree" ie at the beginning or the end, 
> hence +/finance would be a valid topic filter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]