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

Add example test to document how a propagator can be used for inject/extract only #1223

Open
MrAlias opened this issue Oct 2, 2020 · 4 comments
Labels
documentation Provides helpful information help wanted Extra attention is needed

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Oct 2, 2020

#1212 updated the propagation API to unify the inject and extract parts of propagators given this is assumed the default case.

It is still possible to wrap a propagator in a way that it is only used to inject or extract cross-cutting concerns. This should be captured in an example test to help users understand how to do this if they need this functionality.

@MrAlias MrAlias added documentation Provides helpful information release:after-ga labels Oct 2, 2020
@adeniyistephen
Copy link

pointers and inputs, I would love to work on it.

@adeniyistephen
Copy link

pointers and inputs, I would love to work on it.

@MrAlias Kindly provide inputs and pointers for this issue. Regards.

@MadVikingGod
Copy link
Contributor

@MrAlias Could you describe a situation where this would be used?

@MrAlias
Copy link
Contributor Author

MrAlias commented Nov 19, 2021

@MrAlias Could you describe a situation where this would be used?

First thing that comes to mind is a translation for B3 based service that runs in an environment where W3C is the standard. I.e. Extract incoming requests that contain B3 headers and only inject W3C headers on outgoing requests.

@MrAlias MrAlias added help wanted Extra attention is needed and removed release:after-1.0 labels May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Provides helpful information help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants