conduktor.io ↗

Kafka Error INVALID_PRODUCER_ID_MAPPING

Error code 49 · Non-retriable Producer

The producer attempted to use a producer id which is not currently assigned to its transactional id.

Common Causes

Solutions

Diagnostic Commands

# Inspect __transaction_state topic health kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic __transaction_state 2>&1 # Look for corruption or validation errors grep 'INVALID_PRODUCER_ID_MAPPING\|InvalidProducerIdMapping\|producer id mapping' /var/log/kafka/server.log | tail -20

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.