-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: add isValidVersion to protocol types #2538
Commits on Aug 2, 2023
-
feat(proto): add isValidVersion to protocol types
The intention here is that we can check that a request version value is supported by the protocol encoder/decoder before sending it Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 3dfbf99 - Browse repository at this point
Copy the full SHA 3dfbf99View commit details -
fix(proto): use DescribeLogDirsRequest v1
This is identical to v0 but can used from broker 2.0.0.0 onwards Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for fa37d61 - Browse repository at this point
Copy the full SHA fa37d61View commit details -
fix(proto): ensure req+resp requiredVersion match
Testing uncovered a few mismatches between the requiredVersion implementation in the request and response for these types Also fix wrong key() in alter_configs_response! Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 40fa609 - Browse repository at this point
Copy the full SHA 40fa609View commit details -
fix(proto): extend txn types for identical versions
Co-authored-by: Mark Hindess <hindessm@users.noreply.github.com> Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for c240c67 - Browse repository at this point
Copy the full SHA c240c67View commit details -
fix(proto): correct consumer metadata shim
This is really just proxying to FindCoordinatorRequest/FindCoordinatorResponse, but for now just copy in the same isValidVersion/requiredVersion code and ensure we're passing Version to and from it correctly. Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 3b82606 - Browse repository at this point
Copy the full SHA 3b82606View commit details -
fix(admin): remove group member needs >= 2.4.0
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for ee2872c - Browse repository at this point
Copy the full SHA ee2872cView commit details -
feat(proto): add test around supported versions
Initially seeded with only the protocol versions required for Kafka v1.1, check we've implemented the expected versions and they pass the isValidVersion and the requiredVersion checks as expected. Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for b8cc2b1 - Browse repository at this point
Copy the full SHA b8cc2b1View commit details -
fix(proto): use DeleteRecordsRequest v1
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for a9126ad - Browse repository at this point
Copy the full SHA a9126adView commit details