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

Hi Karl Palsson

It acts as the same to me whether round_robin is set true or false.
What I want is to build a cluster of brokers behind one load balancer. so even one of brokers down, the other broker could serve well.

Regards,
Wang

On 2015年09月02日 20:19, Karl Palsson wrote:
-----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-----


_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev

-- 
*********************
株式会社カイクリエイツ 王 兆強
〒150-0001 東京都渋谷区神宮前5-39-6
TEL : 03-3486-9119
FAX : 03-3486-9800
Mail: wang@xxxxxxxxx
*********************

Back to the top