Session Persistence
amqtt.contrib.persistence.SessionDBPlugin
Plugin to store session information and retained topic messages in the event that the broker terminates abnormally.
Config
dataclass
Configuration variables.
clear_on_shutdown
class-attribute
instance-attribute
clear_on_shutdown: bool = True
if the broker shutdowns down normally, don't retain any information.
file
class-attribute
instance-attribute
file: str | Path = 'amqtt.db'
path & filename to store the sqlite session db.