What is ClientId?
The ClientId is an identifier of the MQTT client connecting to a MQTT broker. The value could be any generated ID, and the ClientID should stay unique for the client.
Only one client with a given ClientId can be connected at one time. If one client is already connected, that client will be disconnected and the new client will get a connection.