Sign inSign up

superhuang/super-kafka-manager

By superhuang

Updated 2 months ago

Self-hosted Kafka UI for topics, messages, consumer groups, Connect, Schema Registry, and ACLs.

Image
0

99

superhuang/super-kafka-manager repository overview

Super Kafka Manager

Self-hosted Kafka UI for topics, messages, consumer groups, Kafka Connect, Schema Registry, ACLs, connection profiles, and audit history.

Source: SuperHuang-CN/SuperKafkaManager

Image

docker pull superhuang/super-kafka-manager:0.1.0

0.1.0 supports linux/amd64 and linux/arm64. The container listens on port 4040; persist /data/super-kafka-manager.

Quick start

docker volume create super-kafka-manager-data

docker run -d \
  --name super-kafka-manager \
  --restart unless-stopped \
  -p 4040:4040 \
  -e TZ=Asia/Shanghai \
  -e SUPER_KAFKA_MANAGER_STORAGE_CONFIG=/data/super-kafka-manager/config/system-storage.json \
  -e SUPER_KAFKA_MANAGER_DATABASE_LOCAL_PATH=/data/super-kafka-manager/system/super-kafka-manager \
  -v super-kafka-manager-data:/data/super-kafka-manager \
  superhuang/super-kafka-manager:0.1.0

Open http://localhost:4040/, select the system database, and create the first super administrator. There is no preset administrator password.

The image includes system-database JDBC drivers for H2, PostgreSQL, MySQL, MariaDB, KingbaseES, HighGo, and Dameng. Kafka, Schema Registry, and Kafka Connect are runtime connections rather than startup dependencies. Their addresses and Kafka advertised listeners must be reachable from inside the container.

Reverse proxy under any path

location = /kafka-manager {
    return 308 /kafka-manager/;
}

location /kafka-manager/ {
    proxy_pass http://127.0.0.1:4040/;
    proxy_http_version 1.1;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_cookie_path / /kafka-manager/;
    proxy_buffering off;
    proxy_cache off;
    proxy_read_timeout 1h;
}

The trailing slash on proxy_pass is required. Do not set server.servlet.context-path or SESSION_COOKIE_PATH; Nginx strips the public prefix and rewrites the cookie path. No manually created Docker network is required when using Compose.

Tag summary

Content type

Image

Digest

sha256:ce2077ee0

Size

210.3 MB

Last updated

2 months ago

docker pull superhuang/super-kafka-manager:0.1.0