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

fix: compare kafka header keys case insensitively #804

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

seemk
Copy link
Collaborator

@seemk seemk commented Sep 27, 2023

OTel JS defines carrier keys as lowercase. b3 propagator attempts to read lowercase keys, but other SDKs (Java) produce headers with mixed case keys, causing split traces - open-telemetry/opentelemetry-js#3150

This works fine in the case of HTTP, where node's http module lowercases all keys, but kafkajs retains the key casing.

@seemk seemk requested review from a team as code owners September 27, 2023 16:14
@seemk seemk merged commit ab98acb into main Sep 27, 2023
85 of 86 checks passed
@seemk seemk deleted the kafka-case-insensitive-header-compare branch September 27, 2023 16:52
@seemk seemk mentioned this pull request Sep 27, 2023
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