Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
With KAFKA-14562, we implemented epoch bump on both the client and the server. Mentioned below are the different epoch bump scenarios we have on hand after enabled tv2
Non-Transactional Producers
- Epoch bumping is always allowed.
- Different code paths used to handle epoch bumping.
Transactional Producers
- No Epoch Bump Allowed
- coordinatorSupportsBumpingEpoch = false when initPIDVersion <3 or null
- Client Triggered Epoch Bump Allowed
- coordinatorSupportsBumpingEpoch = true when initPIDVersion >= 3
- TransactionVersion2Enabled = false when endTxnVersion < 5
- Only Server Triggered Epoch Bump Allowed
- Transaction Version 2 = true and endTxnVersion >= 5
We want to refine the code and make it more structured to correctly handle epoch bumping in the above mentioned cases.
Attachments
Issue Links
- links to