Kafka Guide
Also available as:
PDF

Chapter 2. Installing and Configuring Kafka

Prerequisite: ZooKeeper must be installed and running before using Kafka.

To install Kafka using Ambari, see Adding a Service to your Hadoop cluster in the Ambari User's Guide.

To configure Kafka for Kerberos security on an Ambari-managed cluster, see Configuring Kafka for Kerberos Over Ambari.

 

To install Kafka manually, see Installing and Configuring Kafka in the Non-Ambari Cluster Installation Guide.

To configure Ranger-based authorization for Kafka, see the Kafka section of the Ranger Ambari Installation Guide.

[Note]Note

HDP 2.3 supports JDK 1.7 and JDK 1.8 for Kafka.

 

Supported File Systems

The following underlying file systems are supported for use with Kafka:

  • EXT4: supported and recommended

  • EXT2 and EXT3: supported

[Caution]Caution

Encrypted file systems such as SafenetFS are not supported for Kafka. Index file corruption can occur.