Skip to content

[fix][client] Fix OpenTelemetryProducerInterceptor not executing due to eligible check#25585

Open
hrzzzz wants to merge 1 commit intoapache:masterfrom
hrzzzz:fix-otel-not-work
Open

[fix][client] Fix OpenTelemetryProducerInterceptor not executing due to eligible check#25585
hrzzzz wants to merge 1 commit intoapache:masterfrom
hrzzzz:fix-otel-not-work

Conversation

@hrzzzz
Copy link
Copy Markdown
Contributor

@hrzzzz hrzzzz commented Apr 27, 2026

Fixes #25584

Modifications

Make the org.apache.pulsar.client.impl.tracing.OpenTelemetryProducerInterceptor#eligible method always return true, and determine whether the message can be processed in org.apache.pulsar.client.impl.tracing.OpenTelemetryProducerInterceptor#beforeSend.

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

@hrzzzz
Copy link
Copy Markdown
Contributor Author

hrzzzz commented Apr 29, 2026

@Technoboy- @lhotari @codelipenghui @poorbarcode Could you please review this PR? Thanks

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.

[Bug] OpenTelemetryProducerInterceptor not executing due to eligible check

1 participant