FAN-IN pattern that waits until every channel has a message #2776
-
|
Hi! If subscribing to multiple streams as described here: @broker.subscriber("first_sub")
@broker.subscriber("second_sub")
async def handler(msg):
...Can the I'm imaging something like: @broker.subscriber("first_sub")
@broker.subscriber("second_sub")
async def handler(msg1, msg2):
... |
Beta Was this translation helpful? Give feedback.
Answered by
Lancetnik
Feb 23, 2026
Replies: 2 comments
-
|
No, FastStream has no builtin Fan-In subscribers, but you can implement smth close using dynamic subscribers feature |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Steven-Livingstone
-
|
Thanks @Lancetnik! Also referencing #2533 incase a solution is found. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, FastStream has no builtin Fan-In subscribers, but you can implement smth close using dynamic subscribers feature