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

demandé il y a 3 ans418 vues
2 réponses
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
répondu il y a 3 ans
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

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions