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

Improve Binary Propagator #129

Merged
merged 1 commit into from
Aug 7, 2019
Merged

Improve Binary Propagator #129

merged 1 commit into from
Aug 7, 2019

Conversation

austinlparker
Copy link
Member

I've refactored the binary propagator to work like the TextMap propagator.

  • Added IBinary interface which is implemented by BinaryInjectAdapter and BinaryExtractAdapter.
  • IBinary offers a get and set method.
  • IBinary is explicitly backed by a MemoryStream.

This is a bit different than the Java implementation, but we don't need to pass the length along like they do over there. This PR is mostly in support of adding support for decoding Envoy x-ot-span-context headers to OpenTracing tracers.

@austinlparker austinlparker merged commit 15cfeeb into master Aug 7, 2019
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.

2 participants