I want to understand the persistence related options in Mosquitto as described here.
To begin with, do these options apply only in case of QoS > 0 and/or retained messages?
persistence
If true, connection, subscription and message data will be written to the disk in
mosquitto.db
at the location dictated bypersistence_location
.
What is the meaning of 'message data' - the actual payload? Only when retained or otherwise as well?
persistence_location
If not given, then the current directory is used.
What is the current directory relative to?