=========
Kafka Web Monitor is a node.js application for monitoring Apache Kafka
- Node.js (v0.10.29)
- npm(JavaScript package manager)
-
Download KafkaWebMonitor
-
Install node module
cd KafkaWebMonitor
npm install
- Change the
port
orlogger filename
path, and other settings.
cd KafkaWebMonitor/conf
vi config.js
-----
port: 9000,
locales: ['en', 'ko'],
session: {
max_age: 1000 * 60 * 60 * 24
},
// Kafka node caching time. millisecond
cache_age: 1000 * 60 * 5,
chart_tick_time: 5000,
logger: {
access: {
category: 'access',
type: 'dateFile',
filename: __dirname+'/../logs/kwm-access.log',
pattern: '-yyyy-MM-dd',
level: 'DEBUG'
},
app: {
category: 'app',
type: 'dateFile',
filename: __dirname+'/../logs/kwm-app.log',
pattern: '-yyyy-MM-dd',
level: 'DEBUG'
}
}
-----
cd KafkaWebMonitor
node ./bin/www
- Kafka Web Monitor main page
- Registered brokers
- Offset monitoring chart
-
Kafka Web Console
-
Kafka Offset Monitor