KIP-1319 — Align TxnOffsetCommit API with OffsetCommit API
Accepted Kafka 4.4 ProtocolTransactionsConsumer
Introduces TxnOffsetCommit v6, which carries topic IDs instead of topic names, renames GenerationId to GenerationIdOrMemberEpoch, and enables GROUP_ID_NOT_FOUND, STALE_MEMBER_EPOCH and UNKNOWN_TOPIC_ID error codes. TxnOffsetCommit never received the KIP-848 enhancements applied to OffsetCommit, so it still hardcodes `Uuid.ZERO_UUID` in persisted OffsetCommitValue records and collapses both GROUP_ID_NOT_FOUND and STALE_MEMBER_EPOCH into ILLEGAL_GENERATION.
Protocol Impact
TxnOffsetCommit v6 · OffsetCommit
Details
| Author | David Jacot |
| Status | Accepted |
| Kafka Version | 4.4 |
| JIRA | KAFKA-20444 |
| Wiki | View on Apache Wiki |
| Created | 2026-03-13 |
| Last Modified | 2026-05-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.