rreddy-22 opened a new pull request, #19844:
URL: https://github.com/apache/kafka/pull/19844

   With the transaction V2, replica manager checks whether the incoming 
producer request produces to a partition belonging to a transaction. 
ReplicaManager figures this out by checking the producer epoch stored in the 
partition log. However, the current code does not reject the produce request if 
its producer epoch is lower than the stored producer epoch. It is an 
optimization to reject such requests earlier instead of sending an 
AddPartitionToTxn request and getting rejected in the response.
   


-- 
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

Reply via email to