Giter Site home page Giter Site logo

scholzj / kafka-topic-view Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 5.0 35 KB

A simple UI for monitoring Apache Kafka topics and their state.

License: Apache License 2.0

HTML 18.79% Go 59.42% JavaScript 21.00% Dockerfile 0.79%
apache-kafka kafka ui kafka-topics-ui kafka-topics kafka-topics-visualiser kafka-ui

kafka-topic-view's Introduction

Kafka Topic View

Kafka Topic View is a simple UI for monitoring Kafka topics and their state. It lists all Kafka brokers, and the partitions assigned to them. The partitions are listed as squares with colors from green (the partitions is in good shape) to red (the partition is under-replicated or offline). When you hover over the partition square, a tooltip shows the details of the partition.

Kafka Topic View screenshot

TODO

  • Configure refresh interval in the UI
  • Add SASL support
  • Better logging
  • CI build

Usage

Locally

Run the binary and use the configuration options to configure where it listens and how it connects to Kafka:

Option Description Default
--listen-addr The address where the HTTP Server runs 0.0.0.0:8080
--fetch-interval The interval at which to fetch the new topic data (default 1m0s) 1m0s
--bootstrap-server Comma separate list of Kafka Brokers to connect to
--kafka-version Version of the Kafka cluster 2.5.0
--tls-ca-file File with the CA certificate for server authentication
--tls-cert-file File with the client certificate for client authentication
--tls-insecure-skip-verify Skip TLS verification when connecting to the Kafka brokers. Use at your own risk!
--tls-key-file File with the key for client authentication
--verbose Turn on verbose logging false
--sarama-verbose Turn on verbose logging int he Sarama Kafka client false

In Kubernetes with Strimzi

Edit the deployment-strimzi.yaml file to match your Strimzi cluster setup (secret names, cluster name, bootstrap servers etc.) and deploy it to Kubernetes:

kubectl apply -f deployment-strimzi.yaml

Use kubectl proxy or kubectl port-forward to access the UI.

Build

Build the Golang backend first:

go build

If needed, build also the container with the backend and UI:

docker build -t <org>/<image>:<tag> ./

kafka-topic-view's People

Contributors

scholzj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.