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 Streams API is not working with tracing and Kafka 3.0.0 #5680

Closed
im-konge opened this issue Oct 7, 2021 · 3 comments
Closed

Kafka Streams API is not working with tracing and Kafka 3.0.0 #5680

im-konge opened this issue Oct 7, 2021 · 3 comments
Labels

Comments

@im-konge
Copy link
Member

im-konge commented Oct 7, 2021

When we try to use Kafka Streams application together with Jaeger tracing and Kafka 3.0.0, it always ends with exception:

2021-10-05 07:01:55.458.81512692563118 DEBUG InternalTopologyBuilder:1339 - No source topics using pattern subscription found, initializing consumer's subscription collection.
Exception in thread "main" java.lang.UnsupportedOperationException: Implementations of KafkaClientSupplier should implement the getAdmin() method.
	at org.apache.kafka.streams.KafkaClientSupplier.getAdmin(KafkaClientSupplier.java:40)
	at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:846)
	at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:711)
	at Main.main(Main.java:48)

It seems that OpenTracing doesn't support Kafka 3.0.0

@im-konge im-konge added the bug label Oct 7, 2021
@im-konge
Copy link
Member Author

im-konge commented Oct 7, 2021

PR with adding support for Kafka 3.0.0 opened by @scholzj Opentracing-contrib/java-kafka-client#91.

@hsargsyan
Copy link

Any updates on this?

@scholzj
Copy link
Member

scholzj commented Jul 21, 2022

Triaged on 21.7.2022: OpenTracing moved into OpenTelemetry and it looks like the PR with the Kafka 3.0 support will not be merged/released anymore. The plan is to migrate to OpenTelemetry which is the replacement for OpenTracing. Strimzi does not provide any direct support for OpenTracing in its operands, it was only used in system tests. This PR should be closed and over time we should migrate to OpenTelemetry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants