April 2018
Intermediate to advanced
248 pages
5h 31m
English
The Last Will and Testament (LWT) message is used if a client disconnects from a broker unexpectedly. An LWT message is set up and defined at the client side while connecting to the broker for the first time and gets stored at the broker. Whenever a client gets disconnected from the broker abruptly due to network issues or power loss, where the client doesn't get the chance to call the disconnect method to end the connection gracefully, the broker then sends the saved LWT message for that client to all its subscribers, informing them of the sudden unavailability of the client.
Read now
Unlock full access