Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] endless loop if configure bridge

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

wang <wang@xxxxxxxxx> wrote:
> Hi guys
> 
> I m using mosquitto as my broker server. And I want to build a cluster
> of brokers based on the bridge connection.
> 
> When I published and then subscribed the topic 'presence', I got endless
> repeated messages from the three broker servers.
> 
> I have three servers, such as:
> 10.80.1.1, 10.80.1.2, 10.80.1.3
> 
> and I have the following configuration for each server.
> 
> on server 10.80.1.1, the config as the following:
> 
>     connection myconn
>     address 10.80.1.2:1883,10.80.1.3:1883

Are you sure round_robin failover of this single connection is really
what you're trying to achieve?  It may be, but it's not how I would have
done it, not if they were all to be available at the same time sharing
the same data.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJV5tspAAoJEBmotQ/U1cr2YkoP/RLOZTFcb3GPR+W5l2plDaS2
lzIuZBSh2IbOvn/Cwi2eQpdjuGglH8OEslBWEZiYNZRTmfsfDaCQVUys0g+22401
qzvtWTaNRtTWSw2b6NGcCbWMMKfT5DkminN47Sn/vDM+kw98HhxQuTaZGOULhqT+
8VYavywlBvc/e67jj+sa1bVlakFZRVlmBOtT60XsRuUbATtgqfipaJiINrpqWtvO
OhsGTApqU/Y5O6Zz2LUJvsA/RpMAslMYlcPSpbprR61YD+s1ycdG6B80nlM2bj7g
dYvGFsH+yHHRZUTeupx06h8uN0v3/192E3vNZDy7CRhPdIQNv7VLHxuyW5I3ENhz
yVGuqu7RfdKl2hVL16iOWOQl1VmtTlHIX+k6HGY0QcO4TKMWT+YzplHxb/o9kAkt
nPyNqZ531brSjCKeOa4/pzXVCh9WVLIMviicbfhhIUtXvZNZXpdX/GcrDn0z5bnQ
6IQQCap2vxd+COrjnhucI2hS40oTNagHOvEjp9YkWVNDdZ3zXhTRSXXm42U5h8A8
VElg8HzU4YiCM+x+AKobEiDv0TXSAlnc2NnPRn70lAOgdZUmFP8HuCmx1D8MqP8Y
/cXIOUkyNffnQgg1JdkBbS/RNWlf1FXHKibiEwP2iecIk7o15hOfMVPC2+bXhYvc
jC7GP3H7ZC4+7Ssxb4E+
=9v5v
-----END PGP SIGNATURE-----

Back to the top