kafka安装部署

2024-05-25 08:47:49 浏览数 (1)

kafka

官网下载:

  • kafka https://downloads.apache.org/kafka/3.7.0/
  • zookeeper https://downloads.apache.org/zookeeper/

run

  • kafka
  • zookeeper,conf目录下创建zoo.cfg,运行bin目录下的zkServer脚本文件

kafka eagle

参考:https://blog.csdn.net/weixin_44299027/article/details/125378413

修改confsystem-config.properties下的配置

cluster1.zk.list=localhost:2181 //配置zookeeper地址 ###################################### kafka mysql jdbc driver address ###################################### efak.driver=com.mysql.cj.jdbc.Driver //修改mysql地址 efak.url=jdbc:mysql://127.0.0.1:33061/ke?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull

新建run.bat启动脚本,配置环境变量

set KE_HOME=D:Toolskafka-eagle-bin-3.0.1 Path=%PATH%;%KE_HOME%bin call binke.bat

浏览器地址:http://localhost:8048/ 用户名:admin 密码:123456

0 人点赞