Replies: 1 comment 1 reply
-
See acknowledgement mode. Publisher confirms and consumer acknowledgements can both be used by federation. It matters a great deal what is being federated since queue federation does not replicate. Exchange federation does and uses a separate queue for outgoing messages but that queue is not replicated Shovel is more bullet-proof because it is drastically simpler and publisher confirms with consumer acknoweldgements is usually enough, plus you control the properties of the source queue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
The company I work for has been merrily running RabbitMQ in production for a few months now. Helped on from here, we have two RabbitMQ brokers - one living on AWS and one living on-prem. They connect to each other via Federated exchanges and this is done over a VPN connection we establish to keep things nice and secure. It's been fantastic if I'm honest, lightning fast and improved a number of previously tightly coupled systems. We're currently looking at moving more over to message queues.
Over the past week we've had two incidents that have meant we've lost messages and I'm wondering if either my understanding is wrong or I've not configured something up correctly.
The first instance was when we were doing server maintenance and took the on-prem RabbitMQ server down for 12 hours (we were installing new hardware). None of the messages generated at the AWS end came through when the on-prem server came back up. New messages were fine though.
The second instance was the VPN threw a hissy fit for 14 hours the other evening - typically half an hour after we closed for the day! Exactly the same scenario, we had a load of messages that were created at AWS and nothing came through. When we restarted the VPN new messages came through as expected.
Both scenarios seem to be when the two brokers can't talk to each other messages aren't held onto. The exchange is a durable one but it's largely a fairly standard set up for things like the federation (no message TTL or expiry for example, on-confirm ack mode)
Beta Was this translation helpful? Give feedback.
All reactions