jolshan commented on code in PR #14321: URL: https://github.com/apache/kafka/pull/14321#discussion_r1313582042
########## clients/src/main/resources/common/message/OffsetFetchResponse.json: ########## @@ -32,8 +32,21 @@ // Version 7 adds pending offset commit as new error response on partition level. // // Version 8 is adding support for fetching offsets for multiple groups - "validVersions": "0-8", + // + // Version 9 is the first version that can be used with the new consumer group protocol (KIP-848). The response is + // the same as version 8 but can return STALE_MEMBER_EPOCH and UNKNOWN_MEMBER_ID errors when the new consumer group + // protocol is used. + "validVersions": "0-9", "flexibleVersions": "6+", + // Supported errors: + // - GROUP_AUTHORIZATION_FAILED (version 0+) + // - NOT_COORDINATOR (version 0+) + // - COORDINATOR_NOT_AVAILABLE (version 0+) + // - COORDINATOR_LOAD_IN_PROGRESS (version 0+) + // - GROUP_ID_NOT_FOUND (version 0+) + // - UNSTABLE_OFFSET_COMMIT (version 7+) Review Comment: thanks for adding this block -- it's good to have such a mapping on the json for responses. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org