question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to pass in a named queue to rabbitmq-pub-sub

See original GitHub issue

Default behavior of rabbitmq-pub-sub is generate a random named queue like amq.gen--8B_yHhahOGcnAo7zNWK_A every time make subscription. This will cause huge number of queues generated, how to avoid this ?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
whileluckycommented, Jul 13, 2018

I’m having the same issue here, is there a recommended way to connect to an existing exchange and queue? I can’t find it in the README. Any help is appreciated.

0reactions
zestsystemcommented, May 16, 2022

I’m having the same issue here, is there a recommended way to connect to an existing exchange and queue? I can’t find it in the README. Any help is appreciated.

Have you gotten this to work? The default behavior of the lib creates a new channel per event and most end up being idle and I want to pass in one specific channel to use. Is seems this project is not being maintained as this issue’s been around for years without answer 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

RabbitMQ tutorial - Publish/Subscribe
The fanout exchange is very simple. As you can probably guess from the name, it just broadcasts all the messages it receives to...
Read more >
RabbitMQ: How to specify the queue to publish to?
What you want to do can be done with exclusive queue, with direct exchange and known queue name and somehow with specific route...
Read more >
RabbitMQ Queue Types 101: A Comprehensive Guide to ...
This article provides you with a comprehensive guide on different RabbitMQ Queue Types.
Read more >
rabbitpubsub - Go Packages
A Pub/Sub subscription is an AMQP queue. The queue should be bound to the exchange that is the topic of the subscription.
Read more >
Exchanges, Queues, and Bindings in RabbitMQ - Baeldung
Name – the name of the queue. If not defined, the broker will generate one; Durability – if enabled, the broker will not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found