Skip to content

Test latest Kafka clients independently of Spring Kafka - #13521

Open
amarziali wants to merge 5 commits into
masterfrom
andrea.marziali/unbound-kafka-latest
Open

amarziali wants to merge 5 commits into
masterfrom
andrea.marziali/unbound-kafka-latest

Conversation

@amarziali

Copy link
Copy Markdown
Contributor

What Does This Do

Test the latest stable Kafka client independently of Spring Kafka, using matching KRaft broker fixtures.

Motivation

The latest-dependency suite was stuck on Kafka 3.8.1 through Spring’s transitive dependency.

Additional Notes

Keeps minimum-version coverage and dependency locking. Includes the entropy-daemon exclusion needed by the newer broker.

Minimum and latest suites pass on JDK 21, along with formatting and Muzzle checks.

@amarziali amarziali added type: bug fix Bug fix inst: kafka Kafka instrumentation comp: testing Testing tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes labels Nov 18, 2026 — with ChatGPT Codex Connector
@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 63.30% (+1.90%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 3a008bf | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.95 s 14.73 s [+0.7%; +2.4%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.69 s 13.79 s [-1.3%; -0.2%] (maybe better)
startup:petclinic:appsec:Agent 17.80 s 17.61 s [+0.2%; +2.0%] (maybe worse)
startup:petclinic:iast:Agent 17.59 s 17.65 s [-1.2%; +0.6%] (no difference)
startup:petclinic:profiling:Agent 17.14 s 17.23 s [-1.6%; +0.6%] (no difference)
startup:petclinic:sca:Agent 17.69 s 17.70 s [-0.7%; +0.6%] (no difference)
startup:petclinic:tracing:Agent 16.25 s 16.84 s [-7.8%; +0.7%] (no difference)

Commit: 3a008bf3 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@amarziali
amarziali marked this pull request as ready for review November 18, 2026 13:03
@amarziali
amarziali requested review from a team as code owners November 18, 2026 13:03
@amarziali
amarziali requested review from ValentinZakharov, bric3 and jandro996 and removed request for a team November 18, 2026 13:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T13:06:12.338877Z c598a74 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-18T13:06:45.026011Z c598a74 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-prod-us1-3 datadog-prod-us1-3 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

Static review found no concrete defect in the Kafka client/broker version alignment, fixture isolation, or entropy-daemon exclusion. Runtime compatibility remains unverified.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit c598a74

@pr-commenter

pr-commenter Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Kafka / producer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/unbound-kafka-latest
git_commit_date 1796086620 1796111411
git_commit_sha eba8050 3a008bf
See matching parameters
Baseline Candidate
ci_job_date 1796112376 1796112376
ci_job_id 2313553881 2313553881
ci_pipeline_id 157112214 157112214
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.31 11.0.31
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=15002 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=15002 -Dhttp.nonProxyHosts=localhost *.localhost
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-ec5mdat3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-ec5mdat3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.31+11-post-1ubuntu1-22.04.2-Ubuntu 11.0.31+11-post-1ubuntu1-22.04.2-Ubuntu

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProduce same

@bric3 bric3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ExcludeFilter change on the daemon sounds good, but the build file need some simplification.

@pr-commenter

pr-commenter Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Kafka / consumer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/unbound-kafka-latest
git_commit_date 1795792733 1795792957
git_commit_sha d8f4f7c 56f2bdd
See matching parameters
Baseline Candidate
ci_job_date 1795794090 1795794090
ci_job_id 2307735008 2307735008
ci_pipeline_id 156807185 156807185
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.31 11.0.31
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=15002 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=15002 -Dhttp.nonProxyHosts=localhost *.localhost
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-rhzuhwf2 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-rhzuhwf2 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.31+11-post-1ubuntu1-22.04.2-Ubuntu 11.0.31+11-post-1ubuntu1-22.04.2-Ubuntu

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaConsumerBenchmark.benchConsume unsure
[-14052.025op/s; -53.578op/s] or [-4.688%; -0.018%]
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsume same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsume same

@amarziali
amarziali enabled auto-merge November 27, 2026 11:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: testing Testing inst: kafka Kafka instrumentation tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: bug fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants