Shekharrajak commented on code in PR #22357:
URL: https://github.com/apache/kafka/pull/22357#discussion_r3293879615
##########
server/src/main/java/org/apache/kafka/server/share/fetch/RecordState.java:
##########
@@ -28,7 +28,8 @@ public enum RecordState {
ACQUIRED((byte) 1),
ACKNOWLEDGED((byte) 2),
ARCHIVING((byte) 3), // Per KIP-1191
- ARCHIVED((byte) 4);
+ ARCHIVED((byte) 4),
+ TX_PENDING((byte) 5); // Per KIP-1289: staged into an open producer
transaction
Review Comment:
TX_PENDING is the bridge state that holds the record - between aquired and
ack (or archived)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]