Skip to content

feat: Update kafka python instrumentation to support kafka-python>=3#4786

Open
rjduffner wants to merge 3 commits into
open-telemetry:mainfrom
rjduffner:rd/kafka-python-updates-1
Open

feat: Update kafka python instrumentation to support kafka-python>=3#4786
rjduffner wants to merge 3 commits into
open-telemetry:mainfrom
rjduffner:rd/kafka-python-updates-1

Conversation

@rjduffner

@rjduffner rjduffner commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Description

While kafka-python version 3.0.0 is actually a pretty large change, https://github.com/dpkp/kafka-python/releases/tag/3.0.0, the breaking changes don't seem to be exercised by the instrumentation.

I updated the instrumentation to include support for versions > 3 but also kept testing older versions as well.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Make sure the current tests pass with the new library versions.

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant