[rabbitmq-discuss] Federation Configuration and Duplicate Messages
Letourneau, John P (John)
john.letourneau at alcatel-lucent.com
Tue Jan 3 15:51:23 GMT 2012
Well, perhaps a bit more about my configuration 8-)
3 nodes...call them N1, N2, N3.
On each I have federation configured.
N2 - exchange log, connects to N1/log and N3/log
N3 - exchange log, connects to N2/log
Right now I cannot seem to have the N1 exchange log connect to N2/log; will need to find out why sometime.
I do it this way so that regardless of where the producer of the log message is, everyone everywhere will see it.
Each layer in the hierarchy only knows about nodes in adjacent layers...N2 being the busy one with a layer above and below.
If everyone has hops=1, sending a log message to N1/log will only go to N2 and not N3 [this is correct].
Setting hops=4, sending a log to N1/log will go to N2 and N3...it will also be returned to N2 thus a consumer on N2 will see the original msg AND the one sent via N2/N3 federation link. Also N3 sees it twice also for a total of once on N1, twice on N2, and twice on N3...the message took a total of 4 hops.
So, this is what I mean by 'one might expect' 8-)
From: Busoli, Simone [mailto:Simone.Busoli at ferrari.com]
Sent: Tuesday, January 03, 2012 10:23 AM
To: Letourneau, John P (John); rabbitmq-discuss at lists.rabbitmq.com
Subject: RE: Federation Configuration and Duplicate Messages
Hi John, I'm not sure about this:
As one might expect, this sometimes results in the message being seen >1 time at some clients.
It shouldn't be the expected behavior except for certain scenarios (i.e. disconnection of the brokers). Am I missing something perhaps?
Questo messaggio e da intendersi esclusivamente ad uso del destinatario e puo contenere informazioni che sono di natura privilegiata, confidenziale
o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non e il destinatario designato, o il dipendente/agente responsabile
per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione e
strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo
immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema.
This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss