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

feita há 3 anos418 visualizações
2 Respostas
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
respondido há 3 anos
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

respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas