/
Kafka Troubleshooting Guide

Kafka Troubleshooting Guide

This doc is about a Kafka troubleshooting guide

Check the Kafka Broker's status

  • kubectl get pods -n kafka-cluster

If Kafka brokers are in crashloopbackoff or Error status

  • Describe the brokers and look for error

    kubectl describe kafka-v2-0 -n kafka-cluster kubectl describe kafka-v2-1 -n kafka-cluster kubectl describe kafka-v2-2 -n kafka-cluster
  • Check Kafka brokers logs for error

    kubectl logs -f kafka-v2-0 -n kafka-cluster kubectl logs -f kafka-v2-1 -n kafka-cluster kubectl logs -f kafka-v2-2 -n kafka-cluster
  • If brokers are in crashloopbackoff due to disk space issues, follow the below document for the cleanup of the logs

 

Related content