Skip to content

add the headers capture feature to Kafka 2.6 interceptors #14290

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mznet
Copy link
Contributor

@mznet mznet commented Jul 20, 2025

The Kafka 2.6 wrapper library currently supports the header capture feature, but the interceptors are not supported yet.
Additionally, I clarified the Kafka 2.6 metadata, adding that the Kafka 2.6 library can be accessed via either the wrapper or interceptors, and added the missing configuration options.

@mznet mznet requested a review from a team as a code owner July 20, 2025 08:54
@@ -1,2 +1,13 @@
description: >
This instrumentation provides a library integeration that enables messaging spans and metrics for Apache Kafka 2.6+ clients.
This instrumentation provides both library and wrapper integrations that enable messaging spans and metrics for Apache Kafka 2.6+ clients.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By library instrumentation we mean a standalone instrumentation that can be used without the agent. wrapper integration isn't part of our terminology. I can understand that you mean that the library offers two kind of instrumentations, one that is based on interceptors and the other one that wraps producers and consumers, but for casual reader imo this sentence does not make sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laurit The word “wrapper” felt out of place since it wasn’t used anywhere in any metadata.yaml, so I agree it should be removed.

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