These can simply run by docker with this docker-compose.yml
:
version: '2'
services:
influxdb:
image: influxdb
ports:
- 8086:8086
zk:
image: zookeeper
ports:
- 2181:2181
kafka:
image: confluentinc/cp-kafka
restart: always
ports:
- 9092:9092
- 9999:9999
links:
- zk
environment:
JMX_PORT: 9999
KAFKA_ZOOKEEPER_CONNECT: zk:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
Please note that JMX_PORT
should be assigned for kafka instance.
See docker-compose.yml
get more info
run make build
and then run gradle run
. visit http://localhost:9001/admin/ to see what you get.
See and modify your docker-compose.yml
and run docker-compose up -d
docker-compose up -d
Fetch broker list
Fetch topic list
Fetch topic info
Fetch or modify topic config
Reassign topic-partition replica & leader
Fetch topic parition(s)
Get topic assigned kafka consumer (new consumer)
Get old consumer(s)
Get new(default) consumer(s)
Get consumer's assigned topics or partitions
Fetch or commit offset for topic-partition if 0 means delete commit offset.
Fetch zookeeper tree node's data, children, stats
InfluxDB Query Proxy
-
Get disk usage for topic-partition
-
Monitor offset change for topic-partition
-
Monitor consumer offset change for topic-partition
-
Change topic config
-
Reassign topic partition
-
Proxy influxdb query
-
generate warnning if kafka / zookeeper is not available
-
Create topic
-
Delete topic
-
Get ACL knowledge
- https://gist.github.com/ashrithr/5811266
- https://sematext.com/blog/2016/06/07/kafka-consumer-lag-offsets-monitoring/
- https://blog.serverdensity.com/how-to-monitor-kafka/
- https://www.datadoghq.com/blog/collecting-kafka-performance-metrics/
- https://github.com/linkedin/Burrow/wiki/What-is-Burrow
- https://apps.sematext.com/spm-reports/mainPage.do?selectedApplication=4291
- http://blog.csdn.net/lizhitao/article/details/24581907
- http://blog.csdn.net/lizhitao/article/details/39499283
- Partitions
- Leader Elections
- Active Controllers ??
- ISR / Log Flush ??
- Purgatory ??
- Log Cleaner
- Queue / Expires ??
- Replicas: Imbalance Count, Lag
- Requests: local time, remote time, request queue time, response queue time, response send time
- Topic: bytes in, bytes out, bytes rejected, messages in; failed fetch requests, failed produce requests
- Topic Partition: segments, size, offset increasing(speed), under replicated
- Producer Error: failed, resends, serialization errors
- Producer Requests: requests, size, request time
- Producer Topics: bytes, dropped messages, messages
- Consumer Lag: lag
- Consumer Fetcher: fetch bytes, requests, response bytes, responses, fetch time,
- Consumer Connectors: kafka_commits rebalance_count zookeeper_commits
- Consumer Topics: bytes, messages, queue size, consumer owned parititions