官⽹下载地址:http://www.kafka-eagle.org/.
1.修改 kafka 启动命令
修改 kafka-server-start.sh 命令中
if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G" fi
为
if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then export KAFKA_HEAP_OPTS="-server -Xms2G -Xmx2G -XX:PermSize=128m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=8 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70" export JMX_PORT="9999" fi
Kafka集群都需要修改
2.安装eagle确认ke.sh有执行权限
3.添加环境变量
export KE_HOME=/usr/local/kafka-eagle-bin-2.0.9/efak-web-2.0.9 export PATH=$PATH:$KE_HOME/bin
配置文件后立即生效 source /etc/profile
4.修改配置文件
启动zookeeper集群
启动kafka集群
启动eagle
[root@hadoop101 local]# kafka-eagle-bin-2.0.9/efak-web-2.0.9/bin/ke.sh start
账号admin密码123456
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)