Skip to content
/ klaw Public
forked from Aiven-Open/klaw

Klaw, the latest OS tool by Aiven, helps enterprises cope with Apache Kafka(r) topics, schema registry and connectors governance by introducing roles/authorizations to users of various teams of an org.

License

Notifications You must be signed in to change notification settings

Q-Nimbus/klaw

 
 

Repository files navigation

Klaw

Klaw is fully opensource. 🥳

Klaw is a self-service Apache Kafka® Topic Management/Governance tool/portal. It is a web application which automates the process of creating and browsing Apache Kafka topics, acls, avro schemas, connectors by introducing roles/authorizations to users of various teams of an organization.

With several downloads every week, many more companies which did not adopt a solution, can happily move away from managing Apache Kafka configs in excelsheets, confluence, wiki pages, git etc.

Built With

  • Bootstrap UI, Angular, Javascript, HTML, CSS
  • Maven - Dependency Management
  • Java (Jdk 17), Spring boot 3, Spring security, SQL, Apache Kafka Admin client

Versioning

For the versions available, see the tags on this repository.

Architecture:

Architecture

Features:

  • Topics (approval): Create, Update, Delete, Promote

    • React UI - New look and feel for Browse topics, Create topic Request
  • Acls (approval): Create,Delete

    • React UI - Create Acl Request
  • Connectors (approval): Create

    • Any connector can be created as long as the required plugin libraries are installed on the server.
  • Avro Schemas (approval): Create

    • View all available versions of the subjects per topic
    • React UI - Create Schema Request
  • Topic Overview :

    • Topic Config
    • Promote
    • Literal and Prefixed subscriptions
    • Topic documentation
    • Consumer offsets/ lag
    • View topic contents
  • View created, completed, declined, all Topic requests

  • View created, completed, declined, all Acl requests

  • View created, completed, declined, all Connector requests

  • View created, completed, declined, all Avro schema requests

  • Synchronization from and to Apache Kafka clusters

  • Reconciliation and email notifications on differences between Klaw and Clusters

  • Restore configuration (topics, acls)

  • Login

    • Azure / Active directory integration
    • Single Sign-on (OAuth2)
    • Based on database
  • Configure Clusters and Environments

    • Clusters can be created connecting to Apache Kafka clusters. (Cluster Management Api should be configured)
    • Environments are wrappers over clusters, enforcing flexible configs like prefix, suffix etc
  • Users, Teams & Authorizations

    • Configurable users, teams
    • More than 35 permissions
    • Configurable roles (Roles can be pulled from AD for authorization)
  • Topic naming conventions

    • Enforce prefix and suffixes per environment
  • Excel report (for your team and all teams, depending on the role)

    • Topics per cluster (for teams)
    • Partitions per cluster
    • Overall topics in all clusters
    • Acls per cluster (for teams)
    • Producer Acls (for teams)
    • Consumer Acls (for teams)
    • Consumer groups of all environments
    • Requests per day
  • Analytics

    • View charts of topics, partitions, acls, requests
  • Multi tenancy

    • Each tenant can manage their topics with their own teams in isolation.
    • Every tenant can have their own set of Kafka environments, and users of one tenant cannot view/access topics, acls or any from other tenants.
    • It provides an isolation avoiding any security breach.
  • Apache Kafka Connectivity

    • PLAINTEXT, SSL, SASL
  • Audit

    • All topic, acl, schema and connector requests
  • Email notifications when

    • requests are created, approved, declined
    • users are created, approved
  • Help Wizard to setup Klaw

  • Documentation : https://klaw-project.io/docs

Install

Manual

mvn clean install

Optional step : For new React UI assets, make sure pnpm is pre installed which is required to build coral assets.

Builds two artifacts core/target/klaw-.jar and cluster-api/target/cluster-api-.jar

and follow steps defined at https://klaw-project.io/docs or run the binaries like below

java -jar core/target/klaw-.jar

java -jar cluster-api/target/cluster-api-.jar --spring.config.location=cluster-api/target/classes/application.properties

With make

  1. Clone this repo containing two maven modules (core and cluster-api) : git clone [email protected]:aiven/klaw.git
  2. Run make to install dependencies and setup both Klaw Core and the Klaw-Cluster-Api
  3. [Optional] edit any configs using make edit-core-config for Klaw Core or make edit-cluster-api-config for Klaw-Cluster-API
  4. To run, you can use make run-core and make run-cluster-api in different terminal windows or you can run make -j2 run-core run-cluster-api to execute both (NOTE: this will mix output and make debugging harder)

With docker

Dockerhub

Each official release is available on docker in the two repositories. The klaw-core docker hub page contains an example docker-compose file which will help download and deploy Klaw. The cluster-api can also be found separately on docker hub.

Locally

This project also has the ability to build and deploy local docker images using scripts provided in Klaw/docker-scripts .

License

Klaw is licensed under the Apache license, version 2.0. Full license text is available in the LICENSE.md file.

Please note that the project explicitly does not require a CLA (Contributor License Agreement) from its contributors.

Contact

Bug reports and patches are very welcome, please post them as GitHub issues and pull requests at https://github.com/aiven/klaw . Any possible vulnerabilities or other serious issues should be reported directly to the maintainers [email protected].

Trademark

Apache Kafka is either a registered trademark or trademark of the Apache Software Foundation in the United States and/or other countries. All product and service names used in this page are for identification purposes only and do not imply endorsement.

Credits

Klaw (formerly Kafkawize) is maintained by, Aiven open source developers.

Recent contributors are listed on the GitHub project page, https://github.com/aiven/klaw/graphs/contributors

Copyright (c) 2022 Aiven Oy and klaw project contributors.

About

Klaw, the latest OS tool by Aiven, helps enterprises cope with Apache Kafka(r) topics, schema registry and connectors governance by introducing roles/authorizations to users of various teams of an org.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 31.0%
  • HTML 27.8%
  • JavaScript 15.2%
  • TypeScript 11.2%
  • CSS 8.0%
  • SCSS 6.5%
  • Other 0.3%