Dashboard UI for Kafka Cluster monitoring with Burrow 1.0 .
Only support for /v3/kafka
API in Burrow .
refresh / 10s
$ go get github.com/linkedin/Burrow
$ cd $GOPATH/src/github.com/linkedin/Burrow
$ dep ensure
$ go install
or your can run burrow on docker : https://github.com/joway/docker-burrow
burrow.toml
[general]
access-control-allow-origin="*"
[logging]
level="info"
[zookeeper]
servers=["zk:2181"]
[client-profile.kafka10]
kafka-version="0.10.1.0"
client-id="burrow-client"
[cluster.gw]
class-name="kafka"
client-profile="kafka10"
servers=["kafka1:9092"]
topic-refresh=120
offset-refresh=10
[consumer.consumer_kafka]
class-name="kafka"
cluster="gw"
servers=["kafka1:9092"]
client-profile="kafka10"
start-latest=false
offsets-topic="__consumer_offsets"
group-blacklist="^(console-consumer-|python-kafka-consumer-).*$"
[consumer.consumer_zk]
class-name="kafka_zk"
cluster="gw"
servers=["zk:2181"]
zookeeper-timeout=30
group-blacklist="^(console-consumer-|python-kafka-consumer-).*$"
[httpserver.default]
address=":8000"
$ docker run -e BURROW_BACKEND=http://your-burrow-domain joway/burrow-dashboard:latest
$ vim src/apis.js // change `baseApi` variable to http://your-burrow-domain
$ npm run dev
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kafka-burrow
namespace: infra
labels:
app: kafka-burrow
spec:
replicas: 1
selector:
matchLabels:
app: kafka-burrow
template:
metadata:
labels:
app: kafka-burrow
spec:
imagePullSecrets:
- name: docker.in
nodeSelector:
role: infra
containers:
- name: kafka-burrow
image: joway/docker-burrow
env:
- name: ZOOKEEPER_SERVERS
value: '"172.31.44.173:2181"'
- name: KAFKA_BROKERS
value: '"172.31.40.34:9092"'
- name: KAFKA_VERSION
value: 0.10.1.0
ports:
- containerPort: 8000
name: api
protocol: TCP
- name: kafka-burrow-dashboard
image: joway/burrow-dashboard:latest
env:
- name: BURROW_BACKEND
value: http://kafka-burrow-svc:8000
ports:
- containerPort: 80
name: web
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: kafka-burrow-svc
namespace: infra
labels:
app: kafka-burrow
spec:
ports:
- port: 8000
name: api
targetPort: 8000
- port: 80
name: web
targetPort: 80
selector:
app: kafka-burrow