我可以限制 mosquitto 以便没有客户端可以每秒发布超过 N 条消息吗?
Can I throttle mosquitto so that no client may publish more than N messages per second?
我一直在通读 mosquitto.conf documentation,但我不明白代理是否可以限制连接尝试和从写得不好的客户端发布,例如,如果有人写 while not connected { connect() }
或 while true { get_reading_and_publish() }
类型例程。我是 运行 版本 1.5。 mosquitto 是否可以限制每个客户端的连接和发布?
mosquitto.conf 文档引用了 limits.conf
文件,但据我所知,这仅用于限制套接字连接。
运行 专用端口上的 mosquitto,public MQTT 端口上的限速代理。
我一直在通读 mosquitto.conf documentation,但我不明白代理是否可以限制连接尝试和从写得不好的客户端发布,例如,如果有人写 while not connected { connect() }
或 while true { get_reading_and_publish() }
类型例程。我是 运行 版本 1.5。 mosquitto 是否可以限制每个客户端的连接和发布?
mosquitto.conf 文档引用了 limits.conf
文件,但据我所知,这仅用于限制套接字连接。
运行 专用端口上的 mosquitto,public MQTT 端口上的限速代理。