{"id":"5549c7b1-1ddd-4408-be71-e0dfe8c405e0","task":"Choose between RabbitMQ federation and shovel for cross-broker message bridging","domain":"rabbitmq","steps":["Enable the relevant plugin on both brokers: rabbitmq-plugins enable rabbitmq_federation (or rabbitmq_shovel)","For federation: define an upstream via policy pointing at the remote broker URI; messages are pulled from the upstream only when there is local consumer demand — federation is demand-driven","For shovel: configure a static or dynamic shovel that continuously moves messages from a source queue on broker A to a destination exchange on broker B regardless of downstream consumers","Use federation when bridging geographically distributed clusters for pub/sub or work-queue distribution where you want topology transparency and auto-scaling of message flow with demand","Use shovel when you need a reliable one-way message pipeline between two specific endpoints, such as aggregating messages from multiple regional clusters into a central analytics broker","Verify bridge state: rabbitmqctl eval 'rabbit_federation_status:status().' for federation or rabbitmqctl shovel_status for shovel"],"gotchas":["Federation is exchange-level or queue-level and creates a logical link that respects AMQP routing; shovel operates at the queue level and re-publishes messages as new messages, losing original message IDs and some headers","Shovel re-delivery guarantees depend on publisher confirms being enabled; without confirms a shovel can drop messages during a connection failure between consume and publish","Federation links can form cycles if two brokers federate each other's same-named exchanges; set the max-hops policy argument to limit hop count and prevent message loops"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/5549c7b1-1ddd-4408-be71-e0dfe8c405e0"}