A simple way to do this is to include your own Client ID in the response subject. MQTT cannot guarantee that the request of the requester will be received by the responder, and vice versa. Therefore, the requester also needs to be able to correctly associate the request it sends with the...
The URL can be on the following protocols: 'mqtt', 'mqtts', 'tcp', 'tls', 'ws', 'wss'. The URL can also be an object as returned byURL.parse(), in that case the two objects are merged, i.e. you can pass a single object with both the URL and the connect options. ...