Add mountpoint config to zone configs
This commit is contained in:
parent
2a0bbd1c37
commit
1bc175e0ce
|
@ -665,6 +665,15 @@ zone.external.max_mqueue_len = 1000
|
||||||
## Value: false | true
|
## Value: false | true
|
||||||
zone.external.mqueue_store_qos0 = true
|
zone.external.mqueue_store_qos0 = true
|
||||||
|
|
||||||
|
## All the topics will be prefixed with the mountpoint path if this option is enabled.
|
||||||
|
##
|
||||||
|
## Variables in mountpoint path:
|
||||||
|
## - %c: clientid
|
||||||
|
## - %u: username
|
||||||
|
##
|
||||||
|
## Value: String
|
||||||
|
## zone.external.mountpoint = devicebound/
|
||||||
|
|
||||||
##--------------------------------------------------------------------
|
##--------------------------------------------------------------------
|
||||||
## Internal Zone
|
## Internal Zone
|
||||||
|
|
||||||
|
@ -715,6 +724,15 @@ zone.internal.max_mqueue_len = 1000
|
||||||
## Value: false | true
|
## Value: false | true
|
||||||
zone.internal.mqueue_store_qos0 = true
|
zone.internal.mqueue_store_qos0 = true
|
||||||
|
|
||||||
|
## All the topics will be prefixed with the mountpoint path if this option is enabled.
|
||||||
|
##
|
||||||
|
## Variables in mountpoint path:
|
||||||
|
## - %c: clientid
|
||||||
|
## - %u: username
|
||||||
|
##
|
||||||
|
## Value: String
|
||||||
|
## zone.internal.mountpoint = cloudbound/
|
||||||
|
|
||||||
##--------------------------------------------------------------------
|
##--------------------------------------------------------------------
|
||||||
## Listeners
|
## Listeners
|
||||||
##--------------------------------------------------------------------
|
##--------------------------------------------------------------------
|
||||||
|
|
|
@ -842,6 +842,10 @@ end}.
|
||||||
{datatype, string}
|
{datatype, string}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
{mapping, "zone.$name.mountpoint", "emqx.zones", [
|
||||||
|
{datatype, string}
|
||||||
|
]}.
|
||||||
|
|
||||||
{translation, "emqx.zones", fun(Conf) ->
|
{translation, "emqx.zones", fun(Conf) ->
|
||||||
Mapping = fun("retain_available", Val) ->
|
Mapping = fun("retain_available", Val) ->
|
||||||
{mqtt_retain_available, Val};
|
{mqtt_retain_available, Val};
|
||||||
|
|
Loading…
Reference in New Issue