I am looking for the best practises around managing RabbitMQ changes/configuration.<p>In my current micro-services/worker based architecture I have:<p>* many publisher that publish to exchanges, these exchanges are linked to one or more queues.
* Each worker has it's own queue that is later bind to the exchange.<p>The goal is that publisher and workers do not know anything about each other or where message goes to.<p>I saw that many people put a configuration for Exchanges/Queues in the code, but then a worker depends on the created exchange. That means I need to deploy publisher first. Otherwise worker won't be able to bind the queue to the exchange if it won't be created. The other solution is to manually bind the exchanges with the queues after the deployment but I would rather have everything automated. I wonder what are the best practises around that subject.
You can check the answer of this question in here: <a href="https://stackoverflow.com/questions/29979360/purpose-of-declaring-an-exchange-on-a-rabbitmq-consumer" rel="nofollow">https://stackoverflow.com/questions/29979360/purpose-of-decl...</a>