Additional Considerations When Using Kafka
When using Kafka, consider the following:
- Use Cloudera Manager to start and stop Kafka and ZooKeeper services. Do not use the kafka-server-start, kafka-server-stop, zookeeper-server-start, and zookeeper-server-stop commands.
- All Kafka command-line tools are located in /opt/cloudera/parcels/KAFKA/lib/kafka/bin/.
- Ensure that the JAVA_HOME environment variable is set to your JDK installation directory before using the command-line tools. For example:
See the Apache Kafka documentation.
See the Apache Kafka FAQ.