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

Fanout channel to multiple channels #63

Open
aranw opened this issue May 3, 2018 · 3 comments
Open

Fanout channel to multiple channels #63

aranw opened this issue May 3, 2018 · 3 comments

Comments

@aranw
Copy link

aranw commented May 3, 2018

Would be great to see a video on a performant way of taking one channel of events and then fanning those events from that channel to n channels.

Obviously would be important to cover how to gracefully handle the shutdown of those channels without losing a event that is in flight.

Something like the following

Fanout Exchange

@campoy
Copy link
Owner

campoy commented May 3, 2018

So each message sent to the center is replicated and sent to each one of the consumers below?

@aranw
Copy link
Author

aranw commented May 3, 2018

@campoy Yes exactly that.

Edit: I guess in a way it's the reverse of the merge channels example you did.

@uri
Copy link

uri commented Jan 6, 2021

@aranw he does this in his trace episode when he tries the "worker" approach.

https://youtu.be/ySy3sR1LFCQ?t=1450

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

3 participants