zoukankan      html  css  js  c++  java
  • 【基础组件6】kafkamanager安装部署+详细参数讲解+使用教程

    参考以下两篇博客:

    安装:

    https://www.cnblogs.com/dadonggg/p/8205302.html

    详细参数讲解:

    https://www.jianshu.com/p/6a592d558812

    1. 下载安装 kafka-manager

    1.1 .下载kafka-manager

    想要查看和管理Kafka,完全使用命令并不方便,我们可以使用雅虎开源的Kafka-manager,GitHub地址如下:

    https://github.com/yahoo/kafka-manager

    我们可以使用Git或者直接从Releases中下载,此处从下面的地址下载 1.3.3.7 版本:

    https://github.com/yahoo/kafka-manager/releases

    下载完成后解压。

    注意:上面下载的是源码,下载后需要按照后面步骤进行编译。如果觉得麻烦,可以直接从下面地址下载编译好的 kafka-manager-1.3.3.7.zip。 
    链接:https://pan.baidu.com/s/1qYifoa4 密码:el4o

    1.2.解压

    unzip kafka-manager-1.3.3.7.zip -d /data/
    cd /data/kafka-manager-1.3.3.7

    1.3.修改配置 conf/application.properties

    复制代码
    [root@kafka50 conf]# pwd
    /data/kafka-manager-1.3.3.7/conf
    [root@kafka50 conf]# ls
    application.conf  consumer.properties  logback.xml  logger.xml  nohup.out  routes
    编辑配置文件application.conf
    
    #kafka-manager.zkhosts="localhost:2181"       ##注释这一行,下面添加一行
    kafka-manager.zkhosts="10.0.0.50:12181,10.0.0.60:12181,10.0.0.70:12181"
    复制代码

    1.4启动

    bin/kafka-manager
    kafka-manager 默认的端口是9000,可通过 -Dhttp.port,指定端口; -Dconfig.file=conf/application.conf指定配置文件:
    
    nohup bin/kafka-manager -Dconfig.file=conf/application.conf -Dhttp.port=8080 &

     启动过程:

     View Code

    启动完毕后可以查看端口是否启动,由于启动过程需要一段时间,端口起来的时间可能会延后。

    1.5.浏览器访问

     使用ip地址:端口访问

    二、

    详细解析 kafka manager 的使用

  • 相关阅读:
    5-1
    浅谈sql中的in与not in,exists与not exists的区别
    理解SQL SERVER中的分区表
    SQLSERVER SQL性能优化
    SQL Server Profiler使用方法
    SQL Server中的三种Join方式
    执行计划
    执行计划sql
    INSERT INTO SELECT
    设计模式学习笔记-单例模式
  • 原文地址:https://www.cnblogs.com/Agnes1994/p/12221563.html
Copyright © 2011-2022 走看看