You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not very familiar with mqtt, but from what I understand you cannot have multiple open connections with the same clientID. From documentation (https://eclipse.dev/ditto/connectivity-protocol-bindings-mqtt.html#clientid) in the connection configurations you can specify the clientID to be used. However, how is the connection handled in a kubernetes scenario with multiple active replicas? It is not possible for each replica to use a different client, but with the same clientID, correct? So how do the different replicas present themselves to the broker? For completeness I specify that I am using configurations for mqtt 3.1.1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am not very familiar with mqtt, but from what I understand you cannot have multiple open connections with the same clientID. From documentation (https://eclipse.dev/ditto/connectivity-protocol-bindings-mqtt.html#clientid) in the connection configurations you can specify the clientID to be used. However, how is the connection handled in a kubernetes scenario with multiple active replicas? It is not possible for each replica to use a different client, but with the same clientID, correct? So how do the different replicas present themselves to the broker? For completeness I specify that I am using configurations for mqtt 3.1.1.
Thank you
Luca
Beta Was this translation helpful? Give feedback.
All reactions