table of Contents
1. Environment version
- CDH 5.16.1
- CentOS 7.6
2. Preparation before installation
1. Check the corresponding version of Kafka and CDH
https://docs.cloudera.com/documentation/enterprise/release-notes/topics/rn_consolidated_pcm.html#pcm_kafka
2. Download the parcel package of Kafka
http://archive.cloudera.com/kafka/parcels/latest/
Copy the three files to the /opt/cloudera/parcel-repo directory, if there are the same files, rename the previous files
3. Download Kafka-1.2.0.jar
http://archive.cloudera.com/csds/kafka/
Copy KAFKA-1.2.0.jar to the /opt/cloudera/csd directory
3. Afka Kafka
Click "Assign" --> "Activate"
1. Add Kafka service
4. Start kafka and
report an error:
1. Memory overflow, configure Java Heap Size
2.配置 whitelist must be specified
3. Restart the kafka service