1. kafka运维监控

2022-07-18

1. kafka运维监控

1.1 gui工具

Offset Explorer (kafkatool.com)

1.2 web工具

akhq,官网

java编写的web监控工具

  1. 首先编写application-dev.yml配置文件

    micronaut:
      server:
        cors:
          enabled: true
          configurations:
            all:
              allowedOrigins:
                - http://localhost:3000
    
    akhq:
      connections:
        local:
          properties:
            bootstrap.servers: "152.136.103.222:9092"
          schema-registry:
            url: "http://localhost:8085"
          connect:
            - name: "connect"
              url: "http://localhost:8083"
    
    
  2. 启动jar包携带配置文件参数

    java -Dmicronaut.config.files=akhq-0.19.0/application-dev.yml -jar akhq.jar

  3. 打开localhost:8080


标题:1. kafka运维监控
作者:mahaonan
地址:https://mahaonan.fun/articles/2022/07/18/1658147026812.html