目录
-
- [6.1 MySQL 环境准备](#6.1 MySQL 环境准备)
- [6.2 Kafka 环境准备](#6.2 Kafka 环境准备)
- [6.3 Kafka-Eagle 安装](#6.3 Kafka-Eagle 安装)
6.1 MySQL 环境准备
Kafka-Eagle 的安装依赖于 MySQL,MySQL 主要用来存储可视化展示的数据
6.2 Kafka 环境准备
修改/opt/module/kafka/bin/kafka-server-start.sh 命令
sh
vim bin/kafka-server-start.sh
修改如下参数值:
sh
if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G"
fi
sh
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"
#export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G"
fi
6.3 Kafka-Eagle 安装
【不重要】 需要的时候再去复习