hbmqtt
hbmqtt copied to clipboard
MQTT client/broker using Python asynchronous I/O
There is an Issue with the current websockets module...
Running hbmqtt I get the following error. Traceback (most recent call last): File "/home/mqtt/.local/bin/hbmqtt", line 33, in sys.exit(load_entry_point('hbmqtt==0.9.6', 'console_scripts', 'hbmqtt')()) File "/home/mqtt/.local/bin/hbmqtt", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib64/python3.9/importlib/metadata.py",...
How to solve it ??
As per https://peps.python.org/pep-0352/ shouldn't this use Exception?
![image](https://user-images.githubusercontent.com/27114200/164355974-ddee1af2-d046-4aff-bc57-0b6cb8584784.png) Could you tell how to solve this problem?
set_exception was removed from asyncio some time ago per https://bugs.python.org/issue32363 The modern implementation, which simply pukes a RuntimeErrror... ``` def set_exception(self, exception): raise RuntimeError('Task does not support set_exception operation') ```...
In preparation for deployment, we were watching the memory footprint of long-running hbmqtt processes and they were growing without bound in small, regular increments and intervals. Had to basically read...
hbmqtt 0.96 内存占用 随着客户端连接(即使是失败的情况),broker占用的内存也会越来越大,而且不释放,怎么解决内存占用问题呢?
> The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they’re still fully supported....
I would like to get the incoming message information, along with the subscription info and so forth. It seems to me that without this capability running a broker is pointless?...