-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Main application hangs if it initializes a KafkaProducer with sentry-java 6.19.1 #2744
Comments
Hello @tjerkw I'm able to reproduce. Will investigate. I've modified our Logback sample. See https://github.com/getsentry/sentry-java/compare/feat/kafka-logback-repro for what I tried. I combined this with a kafka server:
|
Seems to be coming from our new ANR detection #2697 More specifically these method invocations: sentry-java/sentry/src/main/java/io/sentry/Sentry.java Lines 236 to 238 in e96a1b7
Also this doesn't seem to be linked to Kafka. It's also happening in our Logback sample. @tjerkw can you please try explicitly calling |
sentry-java/sentry/src/main/java/io/sentry/Sentry.java Lines 220 to 226 in e96a1b7
|
Thanks for the quick response!
On Tue, 30 May 2023 at 13:33 Alexander Dinauer ***@***.***> wrote:
Closed #2744 <#2744> as
completed via #2747 <#2747>.
—
Reply to this email directly, view it on GitHub
<#2744 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGH5MO42DFJAT5WIMLWOYTXIXLHZANCNFSM6AAAAAAYTB4VHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
--
Tjerk Wolterink
|
Integration
sentry
Java Version
eclipse-temurin:11-jre
Version
6.19.1 upwards
Steps to Reproduce
Build this file with sentry-sdk 6.19.1:
Run it with a logback appender:
Run it on docker image
FROM eclipse-temurin:11-jre
Result:
Workaround: Downgrade to 6.18.1
Note: Also reproducable with 6.20.1
Expected Result
The application should cleanly exit
Actual Result
It hangs, only stops with CTRL-C
The text was updated successfully, but these errors were encountered: