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

posta 3 anni fa418 visualizzazioni
2 Risposte
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
con risposta 3 anni fa
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

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande