In RabbitMQ, If I have an exchange and two queues bound to it with same routing key for example "rk1*", how many copies of the message will be physically stored in Rabbit?
More generally, does Rabbit store separate copy of message for each queue?
In RabbitMQ, If I have an exchange and two queues bound to it with same routing key for example "rk1*", how many copies of the message will be physically stored in Rabbit?
More generally, does Rabbit store separate copy of message for each queue?
It really depends on what kind of exchange you have? Do you have a direct exchange, a topic exchange, or a fanout exchange.
Here is more on RabbitMq architecture.
Here is some working demo code for setting up a fanout exchange.
I inspected the file system and I found that message is copied, at least on disk, for every queue.
I've created Durable Topic exchange and 2 queues bound to it with same routing key.
This is how directory structure looks like:

When I publish message to the exchange, I can see it's text in the .idx file for each queue:

So I guess this answers my question. Hope it helps.