[KIP-664] Implement transaction management Admin APIs - #5496
Open
Mario Longobardi (mlongob) wants to merge 1 commit into
Open
[KIP-664] Implement transaction management Admin APIs#5496Mario Longobardi (mlongob) wants to merge 1 commit into
Mario Longobardi (mlongob) wants to merge 1 commit into
Conversation
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
Add four new Admin APIs for detecting and aborting hanging transactions as specified in KIP-664: - ListTransactions: Lists active transactions across all brokers with filtering by state, producer ID, duration, and transactional ID pattern. Supports API versions 0-2 with automatic version negotiation. - DescribeTransactions: Describes detailed transaction state including topics/partitions involved, producer epoch, and timing information. Routes requests to the appropriate transaction coordinators. - DescribeProducers: Retrieves active producer state from partition leaders including producer ID, epoch, sequence numbers, and transaction offsets. - AbortTransaction: Aborts hanging transactions by writing abort markers via the WriteTxnMarkers API. Takes producer state from DescribeProducers to construct the abort request.
Mario Longobardi (mlongob)
force-pushed
the
kip-664
branch
from
June 12, 2026 18:12
6d09074 to
d90c441
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add four new Admin APIs for detecting and aborting hanging transactions as specified in KIP-664:
ListTransactions: Lists active transactions across all brokers with filtering by state, producer ID, duration, and transactional ID pattern. Supports API versions 0-2 with automatic version negotiation.
DescribeTransactions: Describes detailed transaction state including topics/partitions involved, producer epoch, and timing information. Routes requests to the appropriate transaction coordinators.
DescribeProducers: Retrieves active producer state from partition leaders including producer ID, epoch, sequence numbers, and transaction offsets.
AbortTransaction: Aborts hanging transactions by writing abort markers via the WriteTxnMarkers API. Takes producer state from DescribeProducers to construct the abort request.
All APIs include: