|
@@ -1,21 +1,31 @@
|
|
 UI for Apache Kafka
|
|
 UI for Apache Kafka
|
|
------------------
|
|
------------------
|
|
#### Versatile, fast and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.
|
|
#### Versatile, fast and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.
|
|
|
|
+<br/>
|
|
|
|
|
|
[](https://github.com/provectus/kafka-ui/blob/master/LICENSE)
|
|
[](https://github.com/provectus/kafka-ui/blob/master/LICENSE)
|
|

|
|

|
|
[](https://github.com/provectus/kafka-ui/releases)
|
|
[](https://github.com/provectus/kafka-ui/releases)
|
|
[](https://discord.gg/4DWzD7pGE5)
|
|
[](https://discord.gg/4DWzD7pGE5)
|
|
|
|
+[](https://hub.docker.com/r/provectuslabs/kafka-ui)
|
|
|
|
|
|
-### DISCLAIMER
|
|
|
|
-<em>UI for Apache Kafka is a free tool built and supported by the open-source community. Curated by Provectus, it will remain free and open-source, without any paid features or subscription plans to be added in the future.
|
|
|
|
-Looking for the help of Kafka experts? Provectus can help you design, build, deploy, and manage Apache Kafka clusters and streaming applications. Discover [Professional Services for Apache Kafka](https://provectus.com/professional-services-apache-kafka/), to unlock the full potential of Kafka in your enterprise! </em>
|
|
|
|
-
|
|
|
|
|
|
+<p align="center">
|
|
|
|
+ <a href="https://docs.kafka-ui.provectus.io/">DOCS</a> •
|
|
|
|
+ <a href="https://docs.kafka-ui.provectus.io/configuration/quick-start">QUICK START</a> •
|
|
|
|
+ <a href="https://discord.gg/4DWzD7pGE5">COMMUNITY DISCORD</a>
|
|
|
|
+ <br/>
|
|
|
|
+ <a href="https://aws.amazon.com/marketplace/pp/prodview-ogtt5hfhzkq6a">AWS Marketplace</a> •
|
|
|
|
+ <a href="https://discord.gg/4DWzD7pGE5">ProductHunt</a>
|
|
|
|
+</p>
|
|
|
|
|
|
#### UI for Apache Kafka is a free, open-source web UI to monitor and manage Apache Kafka clusters.
|
|
#### UI for Apache Kafka is a free, open-source web UI to monitor and manage Apache Kafka clusters.
|
|
|
|
|
|
UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and deliver optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.
|
|
UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and deliver optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.
|
|
|
|
|
|
|
|
+### DISCLAIMER
|
|
|
|
+<em>UI for Apache Kafka is a free tool built and supported by the open-source community. Curated by Provectus, it will remain free and open-source, without any paid features or subscription plans to be added in the future.
|
|
|
|
+Looking for the help of Kafka experts? Provectus can help you design, build, deploy, and manage Apache Kafka clusters and streaming applications. Discover [Professional Services for Apache Kafka](https://provectus.com/professional-services-apache-kafka/), to unlock the full potential of Kafka in your enterprise! </em>
|
|
|
|
+
|
|
Set up UI for Apache Kafka with just a couple of easy commands to visualize your Kafka data in a comprehensible way. You can run the tool locally or in
|
|
Set up UI for Apache Kafka with just a couple of easy commands to visualize your Kafka data in a comprehensible way. You can run the tool locally or in
|
|
the cloud.
|
|
the cloud.
|
|
|
|
|
|
@@ -29,10 +39,10 @@ the cloud.
|
|
* **View Consumer Groups** — view per-partition parked offsets, combined and per-partition lag
|
|
* **View Consumer Groups** — view per-partition parked offsets, combined and per-partition lag
|
|
* **Browse Messages** — browse messages with JSON, plain text, and Avro encoding
|
|
* **Browse Messages** — browse messages with JSON, plain text, and Avro encoding
|
|
* **Dynamic Topic Configuration** — create and configure new topics with dynamic configuration
|
|
* **Dynamic Topic Configuration** — create and configure new topics with dynamic configuration
|
|
-* **Configurable Authentification** — secure your installation with optional Github/Gitlab/Google OAuth 2.0
|
|
|
|
-* **Custom serialization/deserialization plugins** - use a ready-to-go serde for your data like AWS Glue or Smile, or code your own!
|
|
|
|
-* **Role based access control** - [manage permissions](https://github.com/provectus/kafka-ui/wiki/RBAC-(role-based-access-control)) to access the UI with granular precision
|
|
|
|
-* **Data masking** - [obfuscate](https://github.com/provectus/kafka-ui/blob/master/documentation/guides/DataMasking.md) sensitive data in topic messages
|
|
|
|
|
|
+* **Configurable Authentification** — [secure](https://docs.kafka-ui.provectus.io/configuration/authentication) your installation with optional Github/Gitlab/Google OAuth 2.0
|
|
|
|
+* **Custom serialization/deserialization plugins** - [use](https://docs.kafka-ui.provectus.io/configuration/serialization-serde) a ready-to-go serde for your data like AWS Glue or Smile, or code your own!
|
|
|
|
+* **Role based access control** - [manage permissions](https://docs.kafka-ui.provectus.io/configuration/rbac-role-based-access-control) to access the UI with granular precision
|
|
|
|
+* **Data masking** - [obfuscate](https://docs.kafka-ui.provectus.io/configuration/data-masking) sensitive data in topic messages
|
|
|
|
|
|
# The Interface
|
|
# The Interface
|
|
UI for Apache Kafka wraps major functions of Apache Kafka with an intuitive user interface.
|
|
UI for Apache Kafka wraps major functions of Apache Kafka with an intuitive user interface.
|
|
@@ -60,155 +70,68 @@ There are 3 supported types of schemas: Avro®, JSON Schema, and Protobuf schema
|
|
|
|
|
|

|
|

|
|
|
|
|
|
-Before producing avro-encoded messages, you have to add an avro schema for the topic in Schema Registry. Now all these steps are easy to do
|
|
|
|
|
|
+Before producing avro/protobuf encoded messages, you have to add a schema for the topic in Schema Registry. Now all these steps are easy to do
|
|
with a few clicks in a user-friendly interface.
|
|
with a few clicks in a user-friendly interface.
|
|
|
|
|
|

|
|

|
|
|
|
|
|
# Getting Started
|
|
# Getting Started
|
|
|
|
|
|
-To run UI for Apache Kafka, you can use a pre-built Docker image or build it locally.
|
|
|
|
-
|
|
|
|
-## Configuration
|
|
|
|
-
|
|
|
|
-We have plenty of [docker-compose files](documentation/compose/DOCKER_COMPOSE.md) as examples. They're built for various configuration stacks.
|
|
|
|
-
|
|
|
|
-# Guides
|
|
|
|
-
|
|
|
|
-- [SSO configuration](documentation/guides/SSO.md)
|
|
|
|
-- [AWS IAM configuration](documentation/guides/AWS_IAM.md)
|
|
|
|
-- [Docker-compose files](documentation/compose/DOCKER_COMPOSE.md)
|
|
|
|
-- [Connection to a secure broker](documentation/guides/SECURE_BROKER.md)
|
|
|
|
-- [Configure seriliazation/deserialization plugins or code your own](documentation/guides/Serialization.md)
|
|
|
|
|
|
+To run UI for Apache Kafka, you can use either a pre-built Docker image or build it (or a jar file) yourself.
|
|
|
|
|
|
-### Configuration File
|
|
|
|
-Example of how to configure clusters in the [application-local.yml](https://github.com/provectus/kafka-ui/blob/master/kafka-ui-api/src/main/resources/application-local.yml) configuration file:
|
|
|
|
|
|
+## Quick start (Demo run)
|
|
|
|
|
|
-
|
|
|
|
-```sh
|
|
|
|
-kafka:
|
|
|
|
- clusters:
|
|
|
|
- -
|
|
|
|
- name: local
|
|
|
|
- bootstrapServers: localhost:29091
|
|
|
|
- schemaRegistry: http://localhost:8085
|
|
|
|
- schemaRegistryAuth:
|
|
|
|
- username: username
|
|
|
|
- password: password
|
|
|
|
-# schemaNameTemplate: "%s-value"
|
|
|
|
- metrics:
|
|
|
|
- port: 9997
|
|
|
|
- type: JMX
|
|
|
|
- -
|
|
|
|
|
|
+```
|
|
|
|
+docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui
|
|
```
|
|
```
|
|
|
|
|
|
-* `name`: cluster name
|
|
|
|
-* `bootstrapServers`: where to connect
|
|
|
|
-* `schemaRegistry`: schemaRegistry's address
|
|
|
|
-* `schemaRegistryAuth.username`: schemaRegistry's basic authentication username
|
|
|
|
-* `schemaRegistryAuth.password`: schemaRegistry's basic authentication password
|
|
|
|
-* `schemaNameTemplate`: how keys are saved to schemaRegistry
|
|
|
|
-* `metrics.port`: open JMX port of a broker
|
|
|
|
-* `metrics.type`: Type of metrics, either JMX or PROMETHEUS. Defaulted to JMX.
|
|
|
|
-* `readOnly`: enable read only mode
|
|
|
|
-
|
|
|
|
-Configure as many clusters as you need by adding their configs below separated with `-`.
|
|
|
|
-
|
|
|
|
-## Running a Docker Image
|
|
|
|
-The official Docker image for UI for Apache Kafka is hosted here: [hub.docker.com/r/provectuslabs/kafka-ui](https://hub.docker.com/r/provectuslabs/kafka-ui).
|
|
|
|
|
|
+Then access the web UI at [http://localhost:8080](http://localhost:8080)
|
|
|
|
|
|
-Launch Docker container in the background:
|
|
|
|
-```sh
|
|
|
|
|
|
+The command is sufficient to try things out. When you're done trying things out, you can proceed with a [persistent installation](https://docs.kafka-ui.provectus.io/configuration/quick-start#persistent-start)
|
|
|
|
|
|
-docker run -p 8080:8080 \
|
|
|
|
- -e KAFKA_CLUSTERS_0_NAME=local \
|
|
|
|
- -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 \
|
|
|
|
- -d provectuslabs/kafka-ui:latest
|
|
|
|
|
|
+## Persistent installation
|
|
|
|
|
|
```
|
|
```
|
|
-Then access the web UI at [http://localhost:8080](http://localhost:8080).
|
|
|
|
-Further configuration with environment variables - [see environment variables](#env_variables)
|
|
|
|
-
|
|
|
|
-### Docker Compose
|
|
|
|
-
|
|
|
|
-If you prefer to use `docker-compose` please refer to the [documentation](docker-compose.md).
|
|
|
|
-
|
|
|
|
-### Helm chart
|
|
|
|
-Helm chart could be found under [charts/kafka-ui](https://github.com/provectus/kafka-ui/tree/master/charts/kafka-ui) directory
|
|
|
|
|
|
+services:
|
|
|
|
+ kafka-ui:
|
|
|
|
+ container_name: kafka-ui
|
|
|
|
+ image: provectuslabs/kafka-ui:latest
|
|
|
|
+ ports:
|
|
|
|
+ - 8080:8080
|
|
|
|
+ environment:
|
|
|
|
+ DYNAMIC_CONFIG_ENABLED: true
|
|
|
|
+ volumes:
|
|
|
|
+ - ~/kui/config.yml:/etc/kafkaui/dynamic_config.yaml
|
|
|
|
+```
|
|
|
|
|
|
-Quick-start instruction [here](helm_chart.md)
|
|
|
|
|
|
+Please refer to our [configuration](https://docs.kafka-ui.provectus.io/configuration/quick-start) page to proceed with further app configuration.
|
|
|
|
|
|
-## Building With Docker
|
|
|
|
|
|
+## Some useful configuration related links
|
|
|
|
|
|
-### Prerequisites
|
|
|
|
|
|
+[Web UI Cluster Configuration Wizard](https://docs.kafka-ui.provectus.io/configuration/configuration-wizard)
|
|
|
|
|
|
-Check [prerequisites.md](documentation/project/contributing/prerequisites.md)
|
|
|
|
|
|
+[Configuration file explanation](https://docs.kafka-ui.provectus.io/configuration/configuration-file)
|
|
|
|
|
|
-### Building and Running
|
|
|
|
|
|
+[Docker Compose examples](https://docs.kafka-ui.provectus.io/configuration/compose-examples)
|
|
|
|
|
|
-Check [building.md](documentation/project/contributing/building.md)
|
|
|
|
|
|
+[Misc configuration properties](https://docs.kafka-ui.provectus.io/configuration/misc-configuration-properties)
|
|
|
|
|
|
-## Building Without Docker
|
|
|
|
|
|
+## Helm charts
|
|
|
|
|
|
-### Prerequisites
|
|
|
|
|
|
+[Quick start](https://docs.kafka-ui.provectus.io/configuration/helm-charts/quick-start)
|
|
|
|
|
|
-[Prerequisites](documentation/project/contributing/prerequisites.md) will mostly remain the same with the exception of docker.
|
|
|
|
|
|
+## Building from sources
|
|
|
|
|
|
-### Running without Building
|
|
|
|
|
|
+[Quick start](https://docs.kafka-ui.provectus.io/development/building/prerequisites) with building
|
|
|
|
|
|
-[How to run quickly without building](documentation/project/contributing/building-and-running-without-docker.md#run_without_docker_quickly)
|
|
|
|
|
|
+## Liveliness and readiness probes
|
|
|
|
+Liveliness and readiness endpoint is at `/actuator/health`.<br/>
|
|
|
|
+Info endpoint (build info) is located at `/actuator/info`.
|
|
|
|
|
|
-### Building and Running
|
|
|
|
|
|
+# Configuration options
|
|
|
|
|
|
-[How to build and run](documentation/project/contributing/building-and-running-without-docker.md#build_and_run_without_docker)
|
|
|
|
|
|
+All of the environment variables/config properties could be found [here](https://docs.kafka-ui.provectus.io/configuration/misc-configuration-properties).
|
|
|
|
|
|
-## Liveliness and readiness probes
|
|
|
|
-Liveliness and readiness endpoint is at `/actuator/health`.
|
|
|
|
-Info endpoint (build info) is located at `/actuator/info`.
|
|
|
|
|
|
+# Contributing
|
|
|
|
|
|
-## <a name="env_variables"></a> Environment Variables
|
|
|
|
-
|
|
|
|
-Alternatively, each variable of the .yml file can be set with an environment variable.
|
|
|
|
-For example, if you want to use an environment variable to set the `name` parameter, you can write it like this: `KAFKA_CLUSTERS_2_NAME`
|
|
|
|
-
|
|
|
|
-|Name |Description
|
|
|
|
-|-----------------------|-------------------------------
|
|
|
|
-|`SERVER_SERVLET_CONTEXT_PATH` | URI basePath
|
|
|
|
-|`LOGGING_LEVEL_ROOT` | Setting log level (trace, debug, info, warn, error). Default: info
|
|
|
|
-|`LOGGING_LEVEL_COM_PROVECTUS` |Setting log level (trace, debug, info, warn, error). Default: debug
|
|
|
|
-|`SERVER_PORT` |Port for the embedded server. Default: `8080`
|
|
|
|
-|`KAFKA_ADMIN-CLIENT-TIMEOUT` | Kafka API timeout in ms. Default: `30000`
|
|
|
|
-|`KAFKA_CLUSTERS_0_NAME` | Cluster name
|
|
|
|
-|`KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS` |Address where to connect
|
|
|
|
-|`KAFKA_CLUSTERS_0_KSQLDBSERVER` | KSQL DB server address
|
|
|
|
-|`KAFKA_CLUSTERS_0_KSQLDBSERVERAUTH_USERNAME` | KSQL DB server's basic authentication username
|
|
|
|
-|`KAFKA_CLUSTERS_0_KSQLDBSERVERAUTH_PASSWORD` | KSQL DB server's basic authentication password
|
|
|
|
-|`KAFKA_CLUSTERS_0_KSQLDBSERVERSSL_KEYSTORELOCATION` |Path to the JKS keystore to communicate to KSQL DB
|
|
|
|
-|`KAFKA_CLUSTERS_0_KSQLDBSERVERSSL_KEYSTOREPASSWORD` |Password of the JKS keystore for KSQL DB
|
|
|
|
-|`KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL` |Security protocol to connect to the brokers. For SSL connection use "SSL", for plaintext connection don't set this environment variable
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMAREGISTRY` |SchemaRegistry's address
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMAREGISTRYAUTH_USERNAME` |SchemaRegistry's basic authentication username
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMAREGISTRYAUTH_PASSWORD` |SchemaRegistry's basic authentication password
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMAREGISTRYSSL_KEYSTORELOCATION` |Path to the JKS keystore to communicate to SchemaRegistry
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMAREGISTRYSSL_KEYSTOREPASSWORD` |Password of the JKS keystore for SchemaRegistry
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_SSL` |Enable SSL for Metrics (for PROMETHEUS metrics type). Default: false.
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_USERNAME` |Username for Metrics authentication
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_PASSWORD` |Password for Metrics authentication
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_KEYSTORELOCATION` |Path to the JKS keystore to communicate to metrics source (JMX/PROMETHEUS). For advanced setup, see `kafka-ui-jmx-secured.yml`
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_KEYSTOREPASSWORD` |Password of the JKS metrics keystore
|
|
|
|
-|`KAFKA_CLUSTERS_0_SCHEMANAMETEMPLATE` |How keys are saved to schemaRegistry
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_PORT` |Open metrics port of a broker
|
|
|
|
-|`KAFKA_CLUSTERS_0_METRICS_TYPE` |Type of metrics retriever to use. Valid values are JMX (default) or PROMETHEUS. If Prometheus, then metrics are read from prometheus-jmx-exporter instead of jmx
|
|
|
|
-|`KAFKA_CLUSTERS_0_READONLY` |Enable read-only mode. Default: false
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME` |Given name for the Kafka Connect cluster
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS` |Address of the Kafka Connect service endpoint
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_USERNAME`| Kafka Connect cluster's basic authentication username
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_PASSWORD`| Kafka Connect cluster's basic authentication password
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_KEYSTORELOCATION`| Path to the JKS keystore to communicate to Kafka Connect
|
|
|
|
-|`KAFKA_CLUSTERS_0_KAFKACONNECT_0_KEYSTOREPASSWORD`| Password of the JKS keystore for Kafka Connect
|
|
|
|
-|`KAFKA_CLUSTERS_0_POLLING_THROTTLE_RATE` |Max traffic rate (bytes/sec) that kafka-ui allowed to reach when polling messages from the cluster. Default: 0 (not limited)
|
|
|
|
-|`KAFKA_CLUSTERS_0_SSL_TRUSTSTORELOCATION`| Path to the JKS truststore to communicate to Kafka Connect, SchemaRegistry, KSQL, Metrics
|
|
|
|
-|`KAFKA_CLUSTERS_0_SSL_TRUSTSTOREPASSWORD`| Password of the JKS truststore for Kafka Connect, SchemaRegistry, KSQL, Metrics
|
|
|
|
-|`TOPIC_RECREATE_DELAY_SECONDS` |Time delay between topic deletion and topic creation attempts for topic recreate functionality. Default: 1
|
|
|
|
-|`TOPIC_RECREATE_MAXRETRIES` |Number of attempts of topic creation after topic deletion for topic recreate functionality. Default: 15
|
|
|
|
-|`DYNAMIC_CONFIG_ENABLED`|Allow to change application config in runtime. Default: false.
|
|
|
|
|
|
+Please refer to [contributing guide](https://docs.kafka-ui.provectus.io/development/contributing), we'll guide you from there.
|