我发送大数据(约50MB),并将mqtt.max_packet_size
值添加为6400KB
,但仍然报告错误信息。来自https://docs.emqx.io/docs/broker/v3/cn/config.html#mqtt 它显示这个值mqtt.max_packet_size = 1MB
,我不确定这个值是否可以添加更多,因为我需要发送大数据。请指教。谢谢
当前配置:
//Max Packet Size Allowed, 64K by default.
mqtt.max_packet_size = 6400KB
emqtt 版本信息如下:
[root@proxy bin]# ./emqttd_ctl status
Node 'emqttd@127.0.0.1' is started
emqttd 2.2 is running
错误日志
2020-05-21 11:30:55.859 [error] <0.17448.21>@emqttd_client:received:328 Client(127.0.0.1:59748): Framing error - invalid_mqtt_frame_len