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

Kafka Producer zipkin reporter is not initialized #53

Open
rick-li opened this issue Jan 8, 2024 · 4 comments
Open

Kafka Producer zipkin reporter is not initialized #53

rick-li opened this issue Jan 8, 2024 · 4 comments

Comments

@rick-li
Copy link

rick-li commented Jan 8, 2024

In Kafka Producer sample, zipkin reporter is not initialized, hence tracings are not reported to the zipkin consumer.
openfeign sample works fine.

@jonatan-ivanov
Copy link
Member

It should be since io.zipkin.reporter2:zipkin-reporter-brave is on the classpath and Boot should auto-configure it.

The tracer is definitely initialized since we have a test for it but we don't start a zipkin instance for testing. Did you start Zipkin to check if spans are published?

@rick-li
Copy link
Author

rick-li commented Jan 8, 2024

My breakpoint on Zipkin AsyncRepoter auto config is not triggered, might be some other reporter instance is created but i can't figure out which one, i have the Zipkin collector and the openfeign sample project works fine, not sure what is different.

@jonatan-ivanov
Copy link
Member

Do you see the log message emitted by the kafka-producer app that contains the traceId?

@rick-li
Copy link
Author

rick-li commented Jan 8, 2024

Yes

Do you see the log message emitted by the kafka-producer app that contains the traceId?

Yes trace id and logs are there, span.end is called but the zipkin reporter is missing

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

No branches or pull requests

2 participants