zhaohaidao commented on pull request #8549:
URL: https://github.com/apache/kafka/pull/8549#issuecomment-646932428


   > Resilience Improvement With Old Brokers
   When the client is on the latest version but the broker is old, the client 
shall still see INVALID_PRODUCER_EPOCH from produce response and transactional 
responses. In either case, we shall abort the current transaction and retry 
with transaction coordinator. If the transaction coordinator doesn't support 
InitProducerId with epoch, we should enter fatal state just as KIP-360.
   @abbccdda 
   This pr's treatment of INVALID_PRODUCER_EPOCH looks inconsistent with the 
description of kip-588 as quoted above.
   In this pr, INVALID_PRODUCER_EPOCH will be converted to PRODUCER_FENCED. It 
make senses as INVALID_PRODUCER_EPOCH from old broker should be treated as 
fatal error, the same as PRODUCER_FENCED.
   I'm not sure if the resilience improvement with old brokers is still needed.


----------------------------------------------------------------
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:
[email protected]


Reply via email to