A MqttX.Server.SessionBackend in a local DETS file: sessions survive a
restart of the node. The file is local, so it does not move a session to
another node — for that, implement the behaviour over a store every node
reaches (a database).
Options:
:path— the file (default"mqttx_sessions_<listener>.dets"in the current directory)
The file is owned by the process that starts the listener and closed when it exits.