MQTT runtime configuration
hololinked.server.mqtt.config.RuntimeConfig
Bases: BaseModel
Runtime configuration for MQTT publishers, initialized in MQTTPublisher object.
Pass the attributes of this class as a dictionary to the config argument of MQTTPublisher.
Source code in repo/hololinked/hololinked/server/mqtt/config.py
Attributes
qos
class-attribute
instance-attribute
The (global) MQTT QoS level to use for publishing messages
topic_publisher
class-attribute
instance-attribute
handler class to be used for publishing to topics (global)
thing_description_publisher
class-attribute
instance-attribute
handler class to be used for publishing thing descriptions
Pass these as a plain dictionary to the config argument of MQTTPublisher, not as a
RuntimeConfig instance: