Skip to content

Rename RequestHeader_vX classes#1141

Merged
ods merged 1 commit intoaio-libs:masterfrom
vmaurin:fix_header_version
Dec 12, 2025
Merged

Rename RequestHeader_vX classes#1141
ods merged 1 commit intoaio-libs:masterfrom
vmaurin:fix_header_version

Conversation

@vmaurin
Copy link
Copy Markdown
Contributor

@vmaurin vmaurin commented Dec 9, 2025

According the java client schema, v0 was a version only used for ControlledShutdownRequest.

The first version to have a client id was version 1.

https://github.com/apache/kafka/blob/2.8.1/clients/src/main/resources/common/message/RequestHeader.json

There could have been a confusion as in KIP-482, the v2 is named "version 1".

https://cwiki.apache.org/confluence/display/KAFKA/KIP-482%3A+The+Kafka+Protocol+should+Support+Optional+Tagged+Fields

Changes

Fixes #

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@vmaurin vmaurin mentioned this pull request Dec 9, 2025
4 tasks
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.81%. Comparing base (7b7c4ff) to head (6b32717).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1141   +/-   ##
=======================================
  Coverage   94.81%   94.81%           
=======================================
  Files          88       88           
  Lines       15710    15710           
  Branches     1374     1374           
=======================================
  Hits        14896    14896           
  Misses        569      569           
  Partials      245      245           
Flag Coverage Δ
cext 94.78% <100.00%> (ø)
integration 94.69% <100.00%> (-0.02%) ⬇️
purepy 94.78% <100.00%> (ø)
unit 51.19% <66.66%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ods ods merged commit 741aa2c into aio-libs:master Dec 12, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants