Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use propono for one-to-many broadcast? #59

Closed
tardate opened this issue Jan 7, 2015 · 3 comments
Closed

How to use propono for one-to-many broadcast? #59

tardate opened this issue Jan 7, 2015 · 3 comments

Comments

@tardate
Copy link
Contributor

tardate commented Jan 7, 2015

I've just started looking at propono and so far love the ease of use.

The specific scenario I'd like to support is publishing message to multiple consumers (without the publisher needing to know if any/how many subscribers are listening).

Out of the box, this does not appear to work, because messages are dequeued as soon as read by one subscriber. i.e. only one of the many subscribers will ever get the message.

But maybe I'm overlooking some obvious configuration/usage guidelines to get 1-many to work.

I'd appreciate it if anyone can advise of this is possible (and if so how) before I get too lost on a yak-shaving expedition..

Cheers!

@tardate
Copy link
Contributor Author

tardate commented Jan 7, 2015

OK, stupid question. Think I've figured it out:

  • when each subscriber shares the same application_name, they will operate as multiple workers attached to the same queue (i.e. one one will get to process each message)
  • when subscribers to the same queue each have different a application_name, they will all receive their own copy of the message

Appreciate a steer if my understanding is off.

@tardate tardate closed this as completed Jan 7, 2015
tardate added a commit to evendis/propono that referenced this issue Jan 7, 2015
…viour

* relates to question/issue iHiD#59
* hopefully this is an accurate & correct inclusion for the README
@radcliff
Copy link

@tardate 👍 i had the same question, searched, found this issue, and appreciated the simple explanation

@tardate
Copy link
Contributor Author

tardate commented Feb 25, 2015

@radcliff 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants