Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Mosquitto/ConfigFormat
The current config file format is based on the RSMB file format and is a flat file with implied structure. Other options should be considered.
An advantages would be a more robust format, the big disadvantage that would need to be considered is backwards compatibility.
Possibilities
Lua Format
Example:
{
sys_interval = 10,
user = "mosquitto",
listeners = {
{
port = 1883,
protocol = "mqtt"
}
},
bridges = {
test-mosq = {
address = "test.mosquitto.org",
port = "1883",
topics = {
{
topic = "control/#",
qos = 0,
direction = "in"
},
{
topic = "data/+",
qos = 0,
direction = "out"
}
}
}
}