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 default port of kafka.

    Kafka is not starting may be because zookeeper is not yet started.

Possible issue while starting kafka

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

    Note:

    2181 is default port of zookeeper.

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

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