Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Mqtt

On Fri, Jul 27, 2018 at 09:26:55PM +0530, saurabh singh wrote:

> I want to use asyncio's loop instead of loop of paho for scaling.
> Is hbmqtt suitable.

I did not want to use hbmqtt, as I want to stay mainstream and not
using an alternative implementation.

You can use asyncio's loop, you have to to use add_reader() and
add_writer for the MQTT socket and in the callback call the
appropriate MQTT actions.

--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Office: +31 20 6938364
--    Amsterdam, The Netherlands        |   Mobile: +31 6 26216181

Back to the top