abbccdda commented on pull request #8549: URL: https://github.com/apache/kafka/pull/8549#issuecomment-647041336
@zhaohaidao Thanks for taking a look. I think the KIP description is wrong about this scenario, as for a transaction coordinator RPC, it will: 1. return INVALID_PRODUCER_EPOCH as producer fenced exception when old 2. return PRODUCER_FENCED as producer fenced exception when new So in either case, we are assumed to be fenced in the perspective of transaction coordinator. The right handling would be to kill the Producer and re-initialize. ---------------------------------------------------------------- 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