2.4 Configurations

This topic describes about the various configurations for the kafka and integration services.

Check if kafka is running

Run cmd $ netstat –tlnp | grep :9092

(9092 is default port of kafka)

Possible issue while starting kafka
  • Kafka is not starting may be because zookeeper is not yet started run cmd

    $ netstat –tlnp | grep :2181
    (2181 is default port of zookeeper)
    If any service is not running on this port means zookeeper is down

  • Check if any permission issue is there for kafka log folder.
  • Create console producer and consumer for troubleshooting.

    Refer the following link for the same. http://cloudurable.com/blog/kafka-tutorial-kafka-from-command-line/index.html