Skip to content

RenmanKang/KafkaWebMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KafkaWebMonitor

=========

1. Introduction

Kafka Web Monitor is a node.js application for monitoring Apache Kafka

2. Prerequisite

3. Installation

cd KafkaWebMonitor
npm install

4. Setting up

  • Change the port or logger 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'
		}
	}
-----

5. Running It

cd KafkaWebMonitor
node ./bin/www

6. Screenshot

  • Kafka Web Monitor main page

Main page


  • Registered brokers

Brokers


  • Offset monitoring chart

Offset monitoring chart


7. Reference