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

Tracing context missing from Kafka Consumer #273

Open
mcadecio opened this issue Aug 4, 2024 · 0 comments
Open

Tracing context missing from Kafka Consumer #273

mcadecio opened this issue Aug 4, 2024 · 0 comments
Labels

Comments

@mcadecio
Copy link

mcadecio commented Aug 4, 2024

Version

4.5.9

Context

I recently upgraded the Vertx version in one of my applications and noticed that Span context is being cleared prematurely resulting in calls to other services missing the 'traceparent' header as well as spans ending much earlier than expected.

Do you have a reproducer?

The project uses Otel as the tracing provider.

Steps to reproduce

  1. Start kafka server using docker compose file in ./docker
  2. Run Main java file
  3. Run curl command
    curl --verbose --header 'traceparent: 00-eafaefe4aa38e8efbcaa5868ebee1c6a-148fa5fc0892068f-01' http://localhost:8888/
  4. View application logs
  5. After making a call to a method that returns a Future, the span context (traceId, spanId) is missing.

Extra

  • java version: 17
@mcadecio mcadecio added the bug label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant