栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

Kafka eagle 安装

Kafka eagle 安装

1、下载 eagle 压缩包,上传到 虚拟机node01上

2、加压缩

3、修改配置文件的下面几个地方

kafka.eagle.zk.cluster.alias=cluster1
cluster1.zk.list=node01:2181,node02:2181,node03:2181
#cluster2.zk.list=xdn10:2181,xdn11:2181,xdn12:2181

######################################
cluster1.kafka.eagle.offset.storage=kafka
#cluster2.kafka.eagle.offset.storage=zk


######################################
kafka.eagle.metrics.charts=true
kafka.eagle.metrics.retain=30

######################################
# kafka sqlite jdbc driver address
######################################
#kafka.eagle.driver=org.sqlite.JDBC
#kafka.eagle.url=jdbc:sqlite:/hadoop/kafka-eagle/db/ke.db
#kafka.eagle.username=root
#kafka.eagle.password=www.kafka-eagle.org

######################################
# kafka mysql jdbc driver address
######################################
kafka.eagle.driver=com.mysql.jdbc.Driver
kafka.eagle.url=jdbc:mysql://192.168.0.3:3306/eagle?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
kafka.eagle.username=root
kafka.eagle.password=root

5、修改Kafka配置文件的下面一个地方,然后重启kafka服务,集群的几个节点都要修改

export KAFKA_HEAP_OPTS="-Xmx256M -Xms256M"
    export JMX_PORT="8888"

6、启动eagle服务,切换到bin目录下

ke.sh start

启动成功后会显示如下信息:

Welcome to
    __ __    ___     ____    __ __    ___            ______    ___    ______    __     ______
   / //_/   /   |   / __/   / //_/   /   |          / ____/   /   |  / ____/   / /    / ____/
  / ,<     / /| |  / /_    / ,<     / /| |         / __/     / /| | / / __    / /    / __/   
 / /| |   / ___ | / __/   / /| |   / ___ |        / /___    / ___ |/ /_/ /   / /___ / /___   
/_/ |_|  /_/  |_|/_/     /_/ |_|  /_/  |_|       /_____/   /_/  |_|____/   /_____//_____/   
                                                                                             

Version 1.4.5 -- Copyright 2016-2020
*******************************************************************
* Kafka Eagle Service has started success.
* Welcome, Now you can visit 'http://192.168.216.148:8048/ke'
* Account:admin ,Password:123456
*******************************************************************
* ke.sh [start|status|stop|restart|stats]
* https://www.kafka-eagle.org/
*******************************************************************

使用 status 命令查看服务状态:
[root@localhost bin]# ./ke.sh status
[2022-01-14 22:44:35] INFO : Kafka Eagle is running, [1510] .

使用 jps 命令查看进程:
[root@localhost bin]# jps
1667 Jps
1510 KafkaEagle
 

7、浏览器输入上面第6步中提示的地址:http://192.168.216.148:8048/ke

输入第6步中提示的账号密码:admin/123456

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/706887.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号