最近有同学问我CDH怎么安装Kafka服务,正好我之前也有安装过,在这里将安装过程记录一下,方便各位同学过坑!
既然已经安装了CDH,那么我们在安装kafka服务的时候,很自然的直接添加服务:
但是有提示:Before adding this service, ensure that either the Kafka parcel is activated or the Kafka package is installed. 这样子直接添加kafka的服务是不正确的。先来看一下官网是怎么说的:https://www.cloudera.com/documentation/kafka/1-2-x/topics/kafka_install.html
To install Apache Kafka:
1Download the Kafka CSD here.
2Install the CSD into Cloudera Manager as instructed in Custom Service Descriptor Files. This adds a new parcel repository to your Cloudera Manager configuration. The CSD can only be installed on