conduktor.io ↗

Kafka Error CONCURRENT_TRANSACTIONS

Error code 51 · Retriable Transactions

The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing.

Common Causes

Solutions

Diagnostic Commands

# Look for transaction events in logs grep 'CONCURRENT_TRANSACTIONS\|ConcurrentTransactions' /var/log/kafka/server.log | tail -20 # Inspect __transaction_state topic health kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic __transaction_state 2>&1 | grep -E 'Leader|Isr|UnderReplicated'

Related APIs

This error can be returned by: AddOffsetsToTxn · AddPartitionsToTxn · EndTxn · InitProducerId

Debugging Kafka errors? Conduktor Console gives you real-time visibility into your cluster. Explore all errors in the Error Decoder.