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

Support multiple subscriptions for Reactor spans #3751

Closed

Conversation

HaloFour
Copy link
Contributor

@HaloFour HaloFour commented Aug 2, 2021

Explores refactoring the Reactor 3.x async strategy to use an operator instead of composing over the various doOnSignal methods. Using an operator provides closer access to the Subscriber/Subscription allowing it to be decorated so that I can intercept each subscription and the signals sent to them.

What this would enable is allowing multiple spans to be started/ended for a Reactor publisher, one for the original method call plus one for each subsequent subscription if the publisher is re-used, which can happen accidentally or can be intentional if treated as a Reader/IO monad.

It looks like RxJava 2/3 also support the same approach although it is a bit more involved as there are separate operator/observer interfaces for each of the reactive types.

Discussion: #3753

@trask
Copy link
Member

trask commented Aug 2, 2021

/easycla

@HaloFour HaloFour force-pushed the reactor-multi-subscription branch from b213055 to fd5ee0c Compare September 1, 2021 01:15
@HaloFour HaloFour force-pushed the reactor-multi-subscription branch from fd5ee0c to 6624968 Compare September 1, 2021 01:38
@iNikem
Copy link
Contributor

iNikem commented Oct 25, 2021

@HaloFour do you still plan to work on this PR?

@HaloFour
Copy link
Contributor Author

Yes, I would like to continue work on this PR, hopefully I have a chance to do so this week.

@trask
Copy link
Member

trask commented Jun 27, 2022

hi @HaloFour! any objection to closing this (just trying to clean up the backlog a little), and you can re-open when you start working on it again? I think if I close it you won't be able to re-open it, but if you close it, I think you will be able to re-open yourself. And of course you can always ping on the closed PR and one of us will re-open it if that fails.

@trask
Copy link
Member

trask commented Oct 23, 2022

Closing, but please ping back if you start working on it again and would like it to be re-opened!

@trask trask closed this Oct 23, 2022
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

Successfully merging this pull request may close these issues.

3 participants