mirror of https://github.com/apache/kafka.git
KAFKA-7903: automatically generate OffsetCommitRequest (#6583) introduced a change that cause consumer breakage when OffsetCommitResponse versions < 3 are parsed, as they do not include a throttle_time_ms field. This PR fixes the parsing by supplying the correct version to the OffsetCommitResponse constructor in AbstractResponse.parseResponse. I have tested this change against many of the compatibility system tests, and it has fixed all the failures that I have tested thus far. Author: Lucas Bradstreet <lucas@confluent.io> Reviewers: Gwen Shapira, Boyang Chen Closes #6698 from lbradstreet/offset-commit-response-throttle-field |
||
---|---|---|
.. | ||
src | ||
.gitignore |