Skip to content

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Feb 25, 2025

Updates api_version handling so that versions are normalized against the list in kafka.protocol.broker_api_verisons, which includes copies of api_versions_response data from all brokers 0.10+ and synthetic responses for earlier brokers based on expected api availability. The broker_api_versions data is also used to provide api_versions data to the client when api_version is passed as configuration to avoid check_version() api calls.

Also renames ApiVersionRequest => ApiVersionsRequest and moves from kafka.protocol.admin => kafka.protocol.api_versions .

@dpkp dpkp force-pushed the dpkp/api-versions branch from 64bf2f5 to 9f1fa84 Compare February 25, 2025 19:51
@dpkp dpkp merged commit b697808 into master Feb 25, 2025
16 checks passed
@dpkp dpkp deleted the dpkp/api-versions branch February 25, 2025 20:13
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