Overview

Full name
docker.io/danielqsj/kafka-exporter
Registry
docker.io
Namespace
danielqsj
Repository
kafka-exporter
Cached tags
20
Last synced
07/05/2026, 06:29 AM

Introduction

Kafka Prometheus Exporter 镜像,采集 Broker/Topic/Consumer Lag 指标,消息队列 Grafana 监控与告警数据源组件。

Details

danielqsj/kafka-exporter 连接 Kafka Broker 导出 Prometheus 格式 metrics,涵盖 topic 分区、consumer group lag 与 broker 状态。定位为 Kafka 监控 Exporter,Prometheus scrape 后供 Grafana 展示;Kafka 集群健康监控、消费延迟告警与容量规划指标数据源。

快速启动

docker run -d --name kafka-exporter \
  -p 9308:9308 \
  docker.io/danielqsj/kafka-exporter:latest \
  --kafka.server=kafka:9092

推荐实践

docker run -d --name kafka-exporter \
  --restart unless-stopped \
  -p 9308:9308 \
  docker.io/danielqsj/kafka-exporter:1.7.0 \
  --kafka.server=kafka:9092 --sasl.enabled

核心参数说明

  • -p 9308:9308 — Prometheus scrape 端口
  • --kafka.server — Broker 地址
  • --sasl.enabled — SASL 认证(如启用)
  • 配对 — ServiceMonitor

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kafka-exporter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kafka-exporter
  template:
    metadata:
      labels:
        app: kafka-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/danielqsj/kafka-exporter:1.7.0
          args: ["--kafka.server=kafka:9092"]
          ports:
            - containerPort: 9308
---
apiVersion: v1
kind: Service
metadata:
  name: kafka-exporter
  labels:
    app: kafka-exporter
spec:
  selector:
    app: kafka-exporter
  ports:
    - port: 9308
      targetPort: 9308

ServiceMonitor 自动发现;与 Kafka 同 namespace。

Latest tags (20)

View all 20 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/danielqsj/kafka-exporter
:latest
linux/amd64linux/s390xlinux/arm64linux/ppc64le
2026/04/13 16:0213.2 MBsha256:08c909f6980b
docker.io/danielqsj/kafka-exporter
:v1.9.0
linux/amd64linux/s390xlinux/arm64linux/ppc64le
2025/02/17 11:1213.5 MBsha256:2c98dab538bc
docker.io/danielqsj/kafka-exporter
:v1.8.0
linux/amd64linux/s390xlinux/arm64linux/ppc64le
2024/08/20 15:1211.4 MBsha256:bfae1aa15e87
docker.io/danielqsj/kafka-exporter
:v1.7.0
linux/s390xlinux/amd64linux/arm64linux/ppc64le
2023/05/24 12:3311.5 MBsha256:e184f3cfce28
docker.io/danielqsj/kafka-exporter
:v1.6.0
linux/amd64linux/s390xlinux/arm64linux/ppc64le
2022/08/24 14:0610.3 MBsha256:26cd57732132
docker.io/danielqsj/kafka-exporter
:v1.5.0
linux/amd64linux/s390xlinux/arm64linux/ppc64le
2022/08/23 19:5610.3 MBsha256:cd8ee0924f24
docker.io/danielqsj/kafka-exporter
:v1.4.2
linux/arm64linux/amd64linux/ppc64lelinux/s390x
2021/09/16 17:368.8 MBsha256:557b41bb8a69
docker.io/danielqsj/kafka-exporter
:v1.4.1
linux/s390xlinux/amd64
2021/09/08 17:4110.5 MBsha256:f309e98c8ea1
docker.io/danielqsj/kafka-exporter
:v1.4.0
linux/amd64linux/s390x
2021/09/08 15:529.3 MBsha256:f960a36f5d61
docker.io/danielqsj/kafka-exporter
:v1.3.2
linux/amd64linux/s390x
2021/09/07 20:539.2 MBsha256:aee19c85a553
docker.io/danielqsj/kafka-exporter
:v1.3.1
linux/amd64
2021/05/18 15:209.2 MBsha256:60351a7aee99
docker.io/danielqsj/kafka-exporter
:v1.3.0
linux/amd64
2021/03/16 16:299.1 MBsha256:336b16603d75
docker.io/danielqsj/kafka-exporter
:patch1
linux/amd64
2018/11/06 15:515.1 MBsha256:a96eb17812c7
docker.io/danielqsj/kafka-exporter
:v1.2.0
linux/amd64
2018/07/07 22:344.9 MBsha256:b493282e42cd
docker.io/danielqsj/kafka-exporter
:v1.1.0
linux/amd64
2018/04/07 20:314.9 MBsha256:0f1112f5ce14
docker.io/danielqsj/kafka-exporter
:v1.0.1
linux/amd64
2018/01/12 21:064.9 MBsha256:5da78ee52cf6
docker.io/danielqsj/kafka-exporter
:v1.0.0
linux/amd64
2018/01/08 23:324.9 MBsha256:0e0cf88f16d0
docker.io/danielqsj/kafka-exporter
:v0.3.0
linux/amd64
2017/12/06 17:034.9 MBsha256:4b4520930677
docker.io/danielqsj/kafka-exporter
:v0.2.0
linux/amd64
2017/10/20 15:564.8 MBsha256:2d233674243e
docker.io/danielqsj/kafka-exporter
:v0.1.0
linux/amd64
2017/10/19 17:544.8 MBsha256:5913045adf06