KAFKA-15859: Fixed the Unsupported version error when new admin connects to old broker#17358
KAFKA-15859: Fixed the Unsupported version error when new admin connects to old broker#17358kamalcph merged 1 commit intoapache:trunkfrom
Conversation
|
The existing test |
They |
The test throws unsupported version exception for all versions of LIST_OFFSETS request. If we update the I don't understand the purpose of the test. |
| @Override | ||
| public ListOffsetsRequest build(short version) { | ||
| if (version >= 10) { | ||
| data.setTimeoutMs(timeoutMs); |
There was a problem hiding this comment.
Could you please consider adding "ignorable": true to protocol file instead?
There was a problem hiding this comment.
Thanks for the suggestion! Updated the patch and tested out. It works as expected.
you are right. in the #16876 we want to make sure the |
|
@kamalcph , you can try to merge this PR by yourselves now. Let us know if you encounter any problem. |
|
https://github.com/apache/kafka/blob/trunk/committer-tools/reviewers.py Please consider leveraging 'reviewers.py' to generate the reviewer list 😃 |
…s to old broker (apache#17358) Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Luke Chen <showuon@gmail.com>
Fixed the Unsupported version error when new admin tries to connect to old broker:
Committer Checklist (excluded from commit message)