René's URL Explorer Experiment


Title: fix(test): [Queue Instrumentation 39] Remove stale Kafka container before startup by adinauer · Pull Request #5347 · getsentry/sentry-java · GitHub

Open Graph Title: fix(test): [Queue Instrumentation 39] Remove stale Kafka container before startup by adinauer · Pull Request #5347 · getsentry/sentry-java

X Title: fix(test): [Queue Instrumentation 39] Remove stale Kafka container before startup by adinauer · Pull Request #5347 · getsentry/sentry-java

Description: PR Stack (Queue Instrumentation) #5249 #5250 #5253 #5254 #5255 #5259 #5260 #5265 #5274 #5279 #5280 #5281 #5282 #5283 #5288 #5289 #5291 #5312 #5313 #5314 #5315 #5316 #5318 #5319 #5320 #5321 #5322 #5323 #5324 #5325 #5327 #5328 #5330 #5337 #5338 #5341 #5343 #5345 #5347 #5348 #5352 #5368 📜 Description Clean up stale Kafka system-test containers before starting the local broker. SystemTestRunner.start_kafka_broker() now force-removes the named container up front, even when the current runner instance did not start the previous broker. stop_kafka_broker() stays ownership-aware and still only tears down brokers started by the current run. 💡 Motivation and Context A review comment on the original Kafka console sample PR pointed out that interrupted runs could leave behind a stopped container named sentry-java-system-test-kafka. The runner tried to clean that up before startup, but the cleanup path returned early whenever kafka_started_by_runner was false, so the next docker run --name ... failed with a container-name conflict. This change fixes the stale-container path without changing the reuse behavior for an already running broker on localhost:9092. I also looked into replacing Redpanda with the official Apache Kafka image. That is possible, but it is not a drop-in swap because the current startup command is Redpanda-specific, so I left that as a separate follow-up. 💚 How did you test it? Ran ./gradlew spotlessApply apiDump Ran python3 -m py_compile test/system-test-runner.py Ran a mocked Python verification that start_kafka_broker() now issues docker rm -f sentry-java-system-test-kafka before docker run 📝 Checklist I added GH Issue ID & Linear ID I added tests to verify the changes. No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled. I updated the docs if needed. I updated the wizard if needed. Review from the native team if needed. No breaking change or entry added to the changelog. No breaking change for hybrid SDKs or communicated to hybrid SDKs. 🔮 Next steps If we want the most official broker image for these tests, switch the runner to apache/kafka in a separate PR. #skip-changelog ⚠️ Merge this PR using a merge commit (not squash). Only the collection branch is squash-merged into main.

Open Graph Description: PR Stack (Queue Instrumentation) #5249 #5250 #5253 #5254 #5255 #5259 #5260 #5265 #5274 #5279 #5280 #5281 #5282 #5283 #5288 #5289 #5291 #5312 #5313 #5314 #5315 #5316 #5318 #5319 #5320 #5321 #5322 #...

X Description: PR Stack (Queue Instrumentation) #5249 #5250 #5253 #5254 #5255 #5259 #5260 #5265 #5274 #5279 #5280 #5281 #5282 #5283 #5288 #5289 #5291 #5312 #5313 #5314 #5315 #5316 #5318 #5319 #5320 #5321 #5322 #...

Opengraph URL: https://github.com/getsentry/sentry-java/pull/5347

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b74c5b21-a62b-7a45-cbbe-05415ac874d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8776:133E28:5E2DBE:84834A:6B047838
html-safe-nonceb8c520b84fc0b8d8990aec0f4a8604f87176dcde9b4a51beff5f5b10e1dd7e32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc2OjEzM0UyODo1RTJEQkU6ODQ4MzRBOjZCMDQ3ODM4IiwidmlzaXRvcl9pZCI6IjU1NDI2NDI5NzA3MjczMTU1MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfee2f182e5a9c7ab3d86ef13180d409b867f3c890176d28e70934d6892f80fdf
hovercard-subject-tagpull_request:3600570766
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-java/pull/5347/files
twitter:imagehttps://avatars.githubusercontent.com/u/2542832?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2542832?s=400&v=4
og:image:altPR Stack (Queue Instrumentation) #5249 #5250 #5253 #5254 #5255 #5259 #5260 #5265 #5274 #5279 #5280 #5281 #5282 #5283 #5288 #5289 #5291 #5312 #5313 #5314 #5315 #5316 #5318 #5319 #5320 #5321 #5322 #...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/pull/5347/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5347%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5347%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/pull/5347/files
Reloadhttps://github.com/getsentry/sentry-java/pull/5347/files
Reloadhttps://github.com/getsentry/sentry-java/pull/5347/files
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-java%2Fissues%2Fnew%2Fchoose
adinauerhttps://github.com/adinauer
feat/queue-instrumentationhttps://github.com/getsentry/sentry-java/tree/feat/queue-instrumentation
fix/kafka-system-test-stale-containerhttps://github.com/getsentry/sentry-java/tree/fix/kafka-system-test-stale-container
Conversation 2 https://github.com/getsentry/sentry-java/pull/5347
Commits 6 https://github.com/getsentry/sentry-java/pull/5347/commits
Checks 66 https://github.com/getsentry/sentry-java/pull/5347/checks
Files changed https://github.com/getsentry/sentry-java/pull/5347/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5347/files
fix(test): [Queue Instrumentation 39] Remove stale Kafka container before startup https://github.com/getsentry/sentry-java/pull/5347/files#top
Show all changes 6 commits https://github.com/getsentry/sentry-java/pull/5347/files
00d11a0 fix(test): Remove stale Kafka container before startup adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/00d11a09b3ca0cff725a14c809617f7206e0bed7
f28916d Merge branch 'fix/kafka-interceptor-lifecycle-token' into fix/kafka-s… adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/f28916de5d2fa51fe0cec39dc7c80569c4c81b53
d68da53 Merge branch 'fix/kafka-interceptor-lifecycle-token' into fix/kafka-s… adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/d68da533d91dce9550d4de0c79424832fa043076
72afedf Merge branch 'fix/kafka-interceptor-lifecycle-token' into fix/kafka-s… adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/72afedfa0d9a95afaeac3cdd01518175908579f6
9234efd Merge branch 'fix/kafka-interceptor-lifecycle-token' into fix/kafka-s… adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/9234efdac59412ab4ba43854d9c4d081ceb22772
60d8460 fix(test): Set SENTRY_ENABLE_QUEUE_TRACING for Kafka system tests adinauer Apr 29, 2026 https://github.com/getsentry/sentry-java/pull/5347/commits/60d8460b9d815ac8e293c6230158a2cfeec33c5b
Clear filters https://github.com/getsentry/sentry-java/pull/5347/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5347/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5347/files
test/system-test-runner.pyhttps://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
View file https://github.com/getsentry/sentry-java/blob/60d8460b9d815ac8e293c6230158a2cfeec33c5b/test/system-test-runner.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-java/pull/5347/{{ revealButtonHref }}
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
https://github.com/getsentry/sentry-java/pull/5347/files#diff-e7e3388478b05acef7373ebd5d18de7fbdd46c52fc4aa0bfd97b623a8c939584
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5347/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.