Skip to content

fix: improve KIP-511 behaviour on older Kafka clusters#3328

Merged
dnwe merged 1 commit intomainfrom
dnwe/improve-apiversions
Oct 2, 2025
Merged

fix: improve KIP-511 behaviour on older Kafka clusters#3328
dnwe merged 1 commit intomainfrom
dnwe/improve-apiversions

Conversation

@dnwe
Copy link
Copy Markdown
Collaborator

@dnwe dnwe commented Oct 2, 2025

Rather than failing with "not enough bytes to read" when parsing the ApiVersionsResponse (and always sending a V0 as fallback), instead follow the KIP and expect a V0 ApiVersionsResponse to have been sent back with the supported ApiVersions apikey version included in it.

@dnwe dnwe force-pushed the dnwe/improve-apiversions branch from f78a4de to 80b298b Compare October 2, 2025 11:44
Rather than failing with "not enough bytes to read" when parsing the
ApiVersionsResponse (and always sending a V0 as fallback), instead
follow the KIP and expect a V0 ApiVersionsResponse to have been sent
back with the supported ApiVersions apikey version included in it.

Signed-off-by: Dominic Evans <[email protected]>
@dnwe dnwe force-pushed the dnwe/improve-apiversions branch from 80b298b to de2c08a Compare October 2, 2025 11:49
@dnwe dnwe added the fix label Oct 2, 2025
Copy link
Copy Markdown
Collaborator

@hindessm hindessm left a comment

Choose a reason for hiding this comment

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

LGTM

@dnwe dnwe merged commit 26dc2e7 into main Oct 2, 2025
22 of 23 checks passed
@dnwe dnwe deleted the dnwe/improve-apiversions branch October 2, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants