On Thu, Sep 10, 2015 at 4:05 PM, Sourav Das <[email protected]> wrote:
> Hi,
>
> I have been going through the HAProxy documentation for my work which deals
> with scaling and load balancing for MQTT Brokers.
>
> However, I could not find any configuration regarding the Client Affinity
> where the routing of the MQTT traffic is done based on the topic present in
> the MQTT message. As MQTT is also carried over TCP, is it possible to use a
> pre-configured hook in HAProxy so that the traffic can be routed to the
> appropriate server based on the MQTT topic.
>
> At present I am not able to find out any hook which enables this to be done.
> I am a bit curious to know whether the support of MQTT is planned in future
> releases of HAProxy.
>
>
> Please let me know if this makes sense.
>
> Regards,
> Sourav


Hi Sourav,

This would be doable only if the information can be retrived from the
payload of the first request sent by the client.
could you provide more information about how MQTT protocol works? Is
there any server banner?
A simple TCP dump containing an example of the message you want to
route would be appreciated and allow us to deliver you an accurate
answer.

Baptiste

Reply via email to