test(samples): [Queue Instrumentation 6] Add Kafka queue system tests#5260
Draft
adinauer wants to merge 3 commits intofeat/queue-instrumentation-autoconfigfrom
Draft
test(samples): [Queue Instrumentation 6] Add Kafka queue system tests#5260adinauer wants to merge 3 commits intofeat/queue-instrumentation-autoconfigfrom
adinauer wants to merge 3 commits intofeat/queue-instrumentation-autoconfigfrom
Conversation
Add KafkaQueueSystemTest with e2e tests for: - Producer endpoint creates queue.publish span - Consumer creates queue.process transaction - Distributed tracing (producer and consumer share same trace) - Messaging attributes on publish span and process transaction Also add produceKafkaMessage to RestTestClient and enable sentry.enable-queue-tracing in the kafka profile properties. Requires a running Kafka broker at localhost:9092 and the sample app started with --spring.profiles.active=kafka. Co-Authored-By: Claude <[email protected]>
This was referenced Apr 2, 2026
Contributor
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Spring Jakarta
Other
Internal Changes 🔧Deps
Other
🤖 This preview updates automatically when you update the PR. |
Force-pushing a stack branch can cause GitHub to auto-merge or auto-close other PRs in the stack. Add explicit guidance to never use --force, --force-with-lease, or amend+push on stack branches.
Sentry Build Distribution
|
Contributor
Performance metrics 🚀
|
This was referenced Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Stack (Queue Instrumentation)
📜 Description
Add end-to-end system tests for Kafka queue instrumentation in the Spring Boot 3 sample app:
KafkaQueueSystemTestwith tests for:queue.publishspanqueue.processtransactionproduceKafkaMessagehelper added toRestTestClientsentry.enable-queue-tracing=trueenabled in the kafka profile propertiesRequires a running Kafka broker at
localhost:9092and the sample app started with--spring.profiles.active=kafka.💡 Motivation and Context
E2E system tests validate the full queue instrumentation pipeline from producer through consumer.
💚 How did you test it?
Ran system tests against the Spring Boot 3 sample app with a local Kafka broker.
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps