conduktor.io ↗

KIP-1344 — Add Transaction Coordinator Metrics for Transaction State Log Appends and Marker Completion

Discussion TransactionsMetricsBroker

Adds transaction coordinator metrics covering the durable __transaction_state appends for PREPARE_COMMIT/PREPARE_ABORT and COMPLETE_COMMIT/COMPLETE_ABORT transitions and the number of transactions currently waiting for marker completion. Existing request latency metrics show that EndTxn is slow without separating coordinator validation, queueing, metadata locking, and the transaction state log append, and generic storage/replication metrics cannot attribute pressure to the transaction state log, so operators cannot tell whether latency comes from the prepare transition, marker fan-out to partition leaders, or the final log append after the client already got a success response.

Details

Authorsanghyeok an
StatusDiscussion
JIRAKAFKA-20407
WikiView on Apache Wiki
Created2026-05-17
Last Modified2026-05-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.