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 "unknown keyword: :label" ArgumentError in Rdkafka #1321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

venkatagiri
Copy link

Support for adding a label to a kafka payload(within rdkafka) was added in v0.15.0. karafka/rdkafka-ruby#381
This PR updates the method signature to allow label keyword argument.

Copy link

linux-foundation-easycla bot commented Jan 6, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link
Collaborator

@arielvalentin arielvalentin left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

I would like to request a few changes here:

  1. Please add an automated test to avoid regressions
  2. This change should ensure that the instrumentation requires a minimal version compatible for rdkafka v0.15.0 e.g. https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb#L12
  3. We may want to consider releasing a version of the instrumentation that checks for a Max compatibility with v0.14.x and release that first then release this PR

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