项目作者: rueedlinger

项目描述 :
Web UI for Apache Kafka Connect (vue-connect)
高级语言: Python
项目地址: git://github.com/rueedlinger/vue-connect.git
创建时间: 2020-09-27T10:04:26Z
项目社区:https://github.com/rueedlinger/vue-connect

开源协议:Apache License 2.0

下载


Web UI for Apache Kafka Connect (vue-connect)

vue-connect is a simple and open-source Web UI for managing Apache Kafka Connect connectors.

Note: This project is under development and was build as proof of concept.

Features

  • Connector status overview
  • Delete, pause and resume connectors
  • Restart tasks and connectors
  • Install new connectors
  • Update connector configurations

vue-connect ui

Architecture & Components

see Architecture

Releases & Docker Images

The Docker images are published to Docker Hub.

Docker Tag Description
master This is the current release of the master branch.
<major>.<minor>.<patch> For example Docker tag 0.1.0 corresponds to the git tag v0.1.0

Run vue-connect

CONNECT_URL is the Kafka Connect Rest Endpoint URL which you want to access
with vue-connect. You can also configure multiple connect clusters with CONNECT_URL="http://connect-a:8083,Cluster A;http://connect-b:8084,Cluster B"

  1. docker run --rm -it -p 8080:8080 \
  2. -e "CONNECT_URL=http://CONNECT_REST_ENDPOINT:PORT" \
  3. rueedlinger/vue-connect:master

The vue-connect Web UI will be available at http://localhost:8080

Note: When you want to access the Connect Rest API from another Docker container you could use host.docker.internal as endpoint hostname. CONNECT_URL=http://host.docker.internal:8083

You can modify the Docker Compose file docker-compose.yml and use the latest vue-connect Docker image version from Docker Hub.

  1. vue-connect:
  2. image: rueedlinger/vue-connect:master
  3. hostname: vue-connect
  4. depends_on:
  5. - connect
  6. ports:
  7. - "8080:8080"
  8. environment:
  9. CONNECT_URL: "http://connect:8083"

Configuration Options

The following environment variables can be used to configure vue-connect.

Environment Variable Description Default Value
CONNECT_URL The URL of the Connect API. You can use the cluster url’s separator (;) to add multiple connect clsuters. "http://connect-a:8083;http:/connect-b:8084". You can also add a name separator (,) to the clusters "http://connect-a:8083,Cluster A;http://connect-b:8084,Cluster B" http://localhost:8083
VC_POLLING_INTERVAL_SEC The Connect API polling interval in seconds. If the value is smaller than 1 the polling is deactivated. 60 seconds
VC_REQUEST_TIMEOUT_SEC The default request timeout when communicating with the Connect API. 5 seconds
VC_RUN_SCHEDULER Option to enable (true) or disable (false) the backend scheduler. true
TZ Set the timezone. UTC

Issues / Improvements / Feature Requests / Contributing

How to Build the Project

License

This project is licensed under the terms of the Apache license.