1.6 Troubleshooting Kafka

This topic provides systematic instruction to resolve the issues while running Kafka.

The possible issues that may occur while running Kafka.
  1. Execute the command $ netstat –tlnp | grep :9092.

    Note:

    9092 is the default port of kafka.

    Kafka may not be starting because Zookeeper has not started yet.

  2. Execute the command $ netstat –tlnp | grep :2181.

    Note:

    2181 is default port of zookeeper.

    If any service is not running on this port, it means Zookeeper is down.

  3. Verify that if any permission issue is there for kafka log folder.