Implementation of proxy protocol as an extension

We have a need to implement support for proxy protocol in the Community edition. Our previous approach (with a different MQTT broker) was to modify the source code directly; however, given that HiveMQ has an extension SDK, we would prefer to do this as an extension if possible. We would be very interested if anyone has tried this approach already or has some solid reasons why it would/wouldn’t work.

Hi @jesse,

Implementing the Proxy Protocol from the extension SDK is not possible, as you would need access to the raw bytes of the messages.

Proxy Protocol is a feature of the HiveMQ Enterprise Edition. You can find an overview of the different editions here.

Have a good day
Georg