Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka: fix flexible version handling #1060

Merged
merged 4 commits into from
Mar 2, 2023

Conversation

rukai
Copy link
Member

@rukai rukai commented Feb 27, 2023

closes #1056

I managed to upstream the logic for converting an api version to a header version.
Refer to tychedelia/kafka-protocol-rs#21 and tychedelia/kafka-protocol-rs#22 for more info.

In order to avoid manually parsing the api_key and api_version we should one day upstream some wrappers to kafka-protocol-rs that does this for us.
For now we can land this PR as it fixes our header version issue.

@rukai rukai force-pushed the kafka_flexible_version_fix branch from b76edb4 to f571af0 Compare March 1, 2023 04:38
@rukai rukai marked this pull request as ready for review March 1, 2023 04:43
@rukai rukai requested a review from benbromhead March 1, 2023 22:35
@rukai rukai enabled auto-merge (squash) March 2, 2023 21:35
@rukai rukai merged commit c83fe0d into shotover:main Mar 2, 2023
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.

kafka flexible versions support
3 participants