Giter Site home page Giter Site logo

kaviewer / kaviewer Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 502 KB

๐Ÿ“จ An Viewer and Operator for Kafka on Cloud.

License: Apache License 2.0

Java 96.54% Dockerfile 0.20% Smarty 1.48% Gherkin 1.44% JavaScript 0.33%
spring-boot kafka kafka-manager kafka-topic kafka-web-monitor docker-compose kafka-producer-consumer kafka-tools kafka-ui kaviewer

kaviewer's Introduction

image

Achievement: Quickdraw An Viewer and Operator for Kafka.


KaViewer CI CodeQL GitHub license

image

Description

Today, we have lots of Kafka tools to use, but we have barely neat web Kafka UI to use and bind to our business services. Hence, KaViewer is here, which is made for both Local, On-Premise and Cloud Native service. KaViewer web ui, let you can view and operate kafka with permission control, more details see Architecture.

Feature

Functions

  • Add/Delete New Kafka Cluster/Broker (Not delete the real instance). โœ…
  • Add/Delete Topic. โœ…
  • Publish/Consumer Messages. โœ…

Permission Control

Based on those functions,KaViewer provide two common mode to suit the two different scenario.

  • FULL mode, support all the operations above.
  • LITE mode (default), only support to view kafka message.

And KaViewer support the custom toggles config to enable or disable those operations based on the two mode above as well.

Configurations

Group Config Name Config Value Description
Cluster kaviewer.toggle.cluster.create Boolean Allow to add new cluster (true/false)
Cluster kaviewer.toggle.cluster.delete Boolean Allow to delete new cluster (true/false)
Topic kaviewer.toggle.topic.create Boolean Allow to create new topic (true/false)
Topic kaviewer.toggle.topic.delete Boolean Allow to delete new topic (true/false)
Consumer kaviewer.toggle.consumer.write Boolean Allow to publish new message (true/false)
Consumer kaviewer.toggle.consumer.read Boolean Allow to consume new message (true/false)

Persist API

By default, KaViewer won't persist the registered connections when it shut down.

KaViewer provides the exposed API interface Persistent , which you can do the enhancement to persist KaViewer data. It is similar to SpringBoot autoconfiguration mechanism. You can import kaviewer-runner.jar as dependency and implement the Persistent interface, then add the META-INF/kaviewer.factories to do the trick.

Usage

Require Java >=11 and Kafka >=0.11.0.

kaviewer-auto

Build And Run

Use git clone to clone the repository.
Go into the directory and run mvn clean package -Dmaven.test.skip=true --file pom.xml to build project.
Run

  • java -jar app/target/app-0.0.1.jar LITE mode by default .
  • java -jar app-0.0.1.jar --kaviewer.mode=FULL to enable FULL mode.

Docker Run

Make sure you already have the docker env.
Docker Image: docker pull kaviewer/kaviewer:latest
More details see DockerHub

There have many docker-compose file for different scenarios.

  • Run with DockerHub public image
    docker-compose -f docker-compose.yaml up -d

  • Checkout use this simple command to run the application from project:
    docker-compose -f docker-compose-local-app.yaml up -d

Kubernetes Run

KaViewer uses the Helmto install and deploy to kubernetes resources.
Please check the KaViewer Helm Chart Usage doc for more details.

Architecture

Architecture

Contributing

Folk this project and build locally.:dog:
Make your best changes and send a PR.:heavy_plus_sign:
Using the Issue trace is a plus.:cat:

License

KaViewer is licensed under the Apache License 2.0. @Koy

Star History

kaviewer's People

Contributors

dependabot[bot] avatar koooooo-7 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

shaojava

kaviewer's Issues

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.