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 plans for Java Reactor Project? #261

Open
jarpz opened this issue Mar 16, 2021 · 2 comments
Open

Support plans for Java Reactor Project? #261

jarpz opened this issue Mar 16, 2021 · 2 comments

Comments

@jarpz
Copy link

jarpz commented Mar 16, 2021

There are plans to support Java Reactor with this model of context-propagation?

Reactor implements reactive-streams specification.

Regads

@FroMage
Copy link
Contributor

FroMage commented Mar 17, 2021

Hi,

Not right now, but if you want to provide support via a PR, we could add it.

@lenalebt
Copy link

Came here to find out how to implement this when using reactor together with quarkus. Just that the next person has it a bit easier in the future: It seems to be enough for reactor to work with quarkus if you follow advice in https://github.com/opentracing-contrib/java-reactor#non-agent-configuration

It boils down getting an io.opentracing.Tracer tracer injected and run this once on startup of your application:

Hooks.onEachOperator(TracedSubscriber.asOperator(tracer))
Hooks.onLastOperator(TracedSubscriber.asOperator(tracer))

Tested in JVM & native mode. I'm unsure whether it eats kittens along the way, but I do get trace IDs propagated this way.

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