-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
OpenTelemetry and smallrye reactive kafka #39449
Comments
/cc @Ladicek (smallrye), @alesj (kafka), @brunobat (opentelemetry), @cescoffier (kafka), @jmartisk (smallrye), @ozangunalp (kafka), @phillip-kruger (smallrye), @radcortez (opentelemetry,smallrye) |
This bug should be filed in the smallrye reactive messaging repo: https://github.com/smallrye/smallrye-reactive-messaging We should not static init the instrumenters, the OpenTelemetry object should be injected because it's created here: Line 115 in 079d8d0
CC @ozangunalp |
There is also the issue with |
Should I open the same issue there or is it something that the quarkus team will address? |
@itatdcer I am creating the issue upstream but I'd like to keep this one for tracking purposes. I remember discussing this back then with @kabir, I think we still need a failover for creating the global OpenTelemetry instance because Reactive Messaging may run in an environment where it is not available as a CDI bean. |
Makes sense. |
Not sure if I understood correctly, @itatdcer... You say that when you set: |
That's correct. Assuming that the configuration is a runtime one (I can't confirm it on quarkus documentation), I've tried that without success. For now, I've changed the build time configuration: |
It would be nice to have this fix back ported to Quarkus 3.8 LTS. I know it should be done upstream, but I was wondering. |
@brunobat @ozangunalp Do you think it can be backported to 3.8? |
I'll check that, it needs a patch release to reactive messaging. |
Backported to 3.8 #42158 |
Describe the bug
I'm getting an error at startup .
I've already tried without success:
Same for outgoing topic. The strangest thing about this is that I haven't been able to reproduce it locally (even in prod mode) and it only happens on a prod environment.
Expected behavior
No error at startup
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
17
Quarkus version or git rev
3.8.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: