TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you manage RabbitMQ queues/exchanges?

3 pointsby humble_devabout 7 years ago
I am looking for the best practises around managing RabbitMQ changes&#x2F;configuration.<p>In my current micro-services&#x2F;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&#x27;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&#x2F;Queues in the code, but then a worker depends on the created exchange. That means I need to deploy publisher first. Otherwise worker won&#x27;t be able to bind the queue to the exchange if it won&#x27;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.

1 comment

takounaycabout 7 years ago
You can check the answer of this question in here: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;29979360&#x2F;purpose-of-declaring-an-exchange-on-a-rabbitmq-consumer" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;29979360&#x2F;purpose-of-decl...</a>