AI Considerations on Command Acknowledgment and Workload Management
MQTT is not stateless, publishers and subscribers maintain a connection state with the broker. There are 2 types of connection states. Persistent connections use a keep alive which is mainly used for subscriptions. Session states can be persistent which allow offline messages to be queued on the broker and delivered once a subscriber re-connects, for non-persistent the broker clears its queue and resumes delivery of new messages when a subscriber re-connects. Although the broker maintains a connection state between itself…