conduktor.io ↗

Kafka Error UNKNOWN_TOPIC_OR_PARTITION

Error code 3 · Retriable Broker

This server does not host this topic-partition.

Common Causes

Solutions

Diagnostic Commands

# Describe topic partitions, leaders, and ISR kafka-topics.sh --describe --topic <topic> --bootstrap-server localhost:9092 # List topics and search for the target topic kafka-topics.sh --list --bootstrap-server localhost:9092 | grep <topic>

Related APIs

This error can be returned by: AddPartitionsToTxn · AlterShareGroupOffsets · DeleteRecords · DescribeLogDirs · DescribeProducers · EndTxn · Fetch · InitProducerId · ListOffsets · OffsetCommit · OffsetDelete · Produce · TxnOffsetCommit · WriteTxnMarkers

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