dongnuo123 opened a new pull request, #24327: URL: https://github.com/apache/kafka/pull/24327
OffsetCommit and TxnOffsetCommit write one record for each committed partition in one atomic batch. When the batch exceeds max.message.bytes of __consumer_offsets, the old group coordinator returned INVALID_COMMIT_OFFSET_SIZE. The new group coordinator returns UNKNOWN_SERVER_ERROR, because CoordinatorOperationExceptionHelper maps MESSAGE_TOO_LARGE and RECORD_LIST_TOO_LARGE to it for every API. This PR maps MESSAGE_TOO_LARGE and RECORD_LIST_TOO_LARGE to INVALID_COMMIT_OFFSET_SIZE in GroupCoordinatorService.commitOffsets and commitTransactionalOffsets. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
