Closed shadowbq closed 5 years ago
No, it is not supported for the broker or clients at this time.
Some of the code to support single-level wildcards is present, but it has some limitations and issues which is why it is not exposed by the clients currently.
For example, authorization does not support single-level wildcards. Once the remaining issues are resolved and we can obtain adequate performance we will enable support in the clients.
Documentation seem to say single level is not supported or implemented.
Docs say: Full topic wildcarding | MQTT yes | DXL no (only supports multi-level, single-level may be added pending performance improvements)
Single Level: + As the name suggests, a single-level wildcard replaces one topic level. The plus symbol represents a single-level wildcard in a topic.
https://github.com/opendxl/opendxl-broker/blob/0.2.2/src/mqtt-core/src/subs.c#L374 https://github.com/opendxl/opendxl-broker/blob/0.2.2/src/mqtt-core/src/subs.c#L492