Greengrass MQTT broker (moquette): how to increase allowed message size

0

Hello all!

The moquette broker has a limit for incoming MQTT messages payload - 8092 bytes. Can this be increased somehow (may be via configuration)?

Thanks

已提问 3 年前418 查看次数
2 回答
0

Hi serjiozh,

Unfortunately there is no way to configure this today. But thanks for getting this on our radar and we'll try to get this fixed as soon as we can.

I have not yet tested this myself, but here's a PR which I think should address the issue. If you are comfortable building and publishing Greengrass components yourself, you could give this a shot: https://github.com/aws-greengrass/aws-greengrass-moquette-mqtt/pull/69

Thanks,
-joe

AWS
已回答 3 年前
0

Hello Joe!

Thank you very much, I built Moquette from sources with the fix and just replace the Moquette JAR on the Greengrass core, and the problem disappeared. I still need to learn how to publish the modified component as a separate user-defined component, but for now it works for me, thanks again

regards Serge

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则