Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Kafka Broker Will Not Start

Use this playbook when a broker exits during startup, repeatedly restarts, or remains absent from cluster endpoints.

Capture the complete startup log from process launch to exit, the service exit status, the broker properties, Java version, mounted volumes, and recent deployment or disk changes.

Terminal window
systemctl status kafka --no-pager
journalctl -u kafka -b --no-pager
kafka-storage.sh info -c config/broker.properties
df -h
df -i
Log signalLikely cause
Configuration validation exceptionUnknown, removed, conflicting, or malformed property
InconsistentClusterIdExceptionLocal storage belongs to another cluster
Duplicate broker registrationAnother process uses the same node.id
Missing or inconsistent meta.propertiesPartial formatting, cloned, or replaced storage
Cannot contact controllerController listener, DNS, TLS/SASL, or quorum failure
Address already in useDuplicate process or listener collision
KafkaStorageExceptionCapacity, permissions, mount, filesystem, or device failure
Unsupported Java/runtime errorWrong Java version or JVM options
  1. Validate process.roles, node.id, listeners, controller listener names, and quorum/bootstrap settings.
  2. Confirm every log.dirs path is mounted, writable by the Kafka user, and belongs to the expected cluster.
  3. Check the controller quorum independently.
  4. Test the broker-to-controller security identity and controller endpoints.
  5. Confirm ports are free and advertised endpoints resolve correctly.
  6. Compare the binary and storage-formatting version after an upgrade.
  • Correct invalid configuration and restart once.
  • Stop or remove the unintended duplicate process before reusing a node ID.
  • Restore a missing mount rather than letting Kafka create an empty directory on the root filesystem.
  • Replace a failed log directory using the cluster-management procedure and surviving replicas.
  • For cluster-ID or directory-ID mismatches, establish which data copy is authoritative before formatting anything.

Warning

Storage formatting is initialization, not repair. Kafka 4.4 storage formatted by a newer tool is not forward-compatible with an older broker binary.

Terminal window
kafka-cluster.sh list-endpoints --bootstrap-server kafka:9092
kafka-log-dirs.sh --bootstrap-server kafka:9092 --describe --broker-list 4

Confirm the broker registers once, its incarnation remains stable, all intended directories are online, replicas catch up, and startup errors do not recur.