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

asked 3 years ago407 views
2 Answers
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
answered 3 years ago
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

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions