|
|
@@ -1039,26 +1039,28 @@ zones.default {
|
|
|
##
|
|
|
## There's no priority table by default, hence all messages
|
|
|
## are treated equal.
|
|
|
- ## The top topicname in the table has the highest priority, and then
|
|
|
- ## the next one has the second highest priority, etc.
|
|
|
- ## Messages for topics not in the priority table are treated as
|
|
|
+ ##
|
|
|
+ ## Priority number [1-255]
|
|
|
+ ##
|
|
|
+ ## NOTE: comma and equal signs are not allowed for priority topic names
|
|
|
+ ## NOTE: Messages for topics not in the priority table are treated as
|
|
|
## either highest or lowest priority depending on the configured
|
|
|
## value for mqtt.mqueue_default_priority
|
|
|
##
|
|
|
## @doc zones.<name>.mqtt.mqueue_priorities
|
|
|
- ## ValueType: Array<TopicName>
|
|
|
+ ## ValueType: Map | disabled
|
|
|
## Examples:
|
|
|
- ## To configure "t/1" > "t/2" > "t/3":
|
|
|
- ## mqueue_priorities: [t/1,t/2,t/3]
|
|
|
- ## Default: []
|
|
|
- mqueue_priorities: []
|
|
|
+ ## To configure "topic/1" > "topic/2":
|
|
|
+ ## mqueue_priorities: {"topic/1": 10, "topic/2": 8}
|
|
|
+ ## Default: disabled
|
|
|
+ mqueue_priorities: disabled
|
|
|
|
|
|
## Default to highest priority for topics not matching priority table
|
|
|
##
|
|
|
## @doc zones.<name>.mqtt.mqueue_default_priority
|
|
|
## ValueType: highest | lowest
|
|
|
- ## Default: highest
|
|
|
- mqueue_default_priority: highest
|
|
|
+ ## Default: lowest
|
|
|
+ mqueue_default_priority: lowest
|
|
|
|
|
|
## Whether to enqueue QoS0 messages.
|
|
|
##
|