abbccdda commented on a change in pull request #8549: URL: https://github.com/apache/kafka/pull/8549#discussion_r468694089
########## File path: core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala ########## @@ -539,7 +539,7 @@ class TransactionCoordinator(brokerId: Int, s"${txnIdAndPidEpoch.transactionalId} due to timeout") case error@(Errors.INVALID_PRODUCER_ID_MAPPING | - Errors.INVALID_PRODUCER_EPOCH | Review comment: We do return `INVALID_PRODUCER_EPOCH` when the client is in old version, as they don't recognize the new error code. See `KafkaApis` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org