njouanin / hbmqtt

MQTT client/broker using Python asynchronous I/O
MIT License
799 stars 188 forks source link

Google Cloud IoT #174

Open tartavull opened 5 years ago

tartavull commented 5 years ago

I'm trying to use this library instead of the one paho-mqtt which is the one used in the official guide. paho-mqtt's client has a method username_pw_set where the password is being set here https://github.com/eclipse/paho.mqtt.python/blob/master/src/paho/mqtt/client.py#L2373

is there a way to do the same using hbmqtt? it doesn't look that changing the url would achieve the same effect: https://hbmqtt.readthedocs.io/en/latest/quickstart.html?highlight=username#url-scheme

smurfix commented 5 years ago

Why wouldn't it have the same effect?