A simple web-based viewer to monitor messages on topic(s) in Kafka.
Connects to Kafka via a WebSockets based proxy (using kafka-proxy-ws).
- Monitor multiple Kafka topics
- Receive Kafka messages in real-time
-
Ensure docker is installed and running.
-
Run the following commands:
$ docker pull jchen86/kafka-topic-viewer
$ docker run --rm -it -p 8080:8080 -p 9999:9999 \
-e KAFKA_URL=http://your-kafka-url:port \
-e SERVE_STATIC=true \
jchen86/kafka-topic-viewer
- Run npm build on client directory
$ cd client
$ npm run build
- Run docker build on project root directory
$ cd ..
$ docker build -t jchen86/kafka-topic-viewer .
-
Configure the Kafka URL in
server/config.js
. Default is localhost:9092. -
Start the Proxy server
$ npm install && npm run start
-
Configure the topic names to monitor in
client/src/app/config.js
-
Start the client app
$ cd client
$ npm install && npm run serve
Kafka Topic Viewer should now be live on your server at port 3000.
The project is licensed under the MIT license.