Cancellation of upstreams when the merged downstream terminates #1642
-
I have a Multi<> stream created by merging several other Multi<> streams : I notice that when the merged multi1 stream terminates on failure, then the failure is propagated downstream to the merged stream, which also terminates on failure: this is exactly what expected ✔️ However, I also notice that after the downstream termination, then the other 2 upstreams multi2 and multi3 (which have not failed) are not cancelled by the downstream termination, so that they go on running although the merged downstream is stopped and doesn't consume items any longer. Is it the expected behavior? ❓ If so, what is the right way of making all not failed upstreams to be cancelled? I updated my code in:
It works, I can see in the logs that this time, multi2 and multi3 and correctly cancelled. Thanks for you help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'm looking into this, it could be a bug. |
Beta Was this translation helpful? Give feedback.
I'm looking into this, it could be a bug.