项目作者: Landoop

项目描述 :
Kafka Connect的Web工具|
高级语言: JavaScript
项目地址: git://github.com/Landoop/kafka-connect-ui.git
创建时间: 2016-12-02T14:11:57Z
项目社区:https://github.com/Landoop/kafka-connect-ui

开源协议:Other

下载


kafka-connect-ui

release
docker
Join the chat at https://gitter.im/Landoop/support

This is a web tool for Kafka Connect for setting up and managing connectors for multiple connect clusters.

Live Demo

kafka-connect-ui.demo.lenses.io

Run standalone with docker

  1. docker run --rm -it -p 8000:8000 \
  2. -e "CONNECT_URL=http://connect.distributed.url" \
  3. landoop/kafka-connect-ui

The CONNECT_URL can be a comma separated array of Connect worker endpoints. E.g: CONNECT_URL=http://connect.1.url,http://connect.2.url

Additionally you can assign custom names to your Connect clusters by appending a semicolon and the cluster name after the endpoint URL. E.g:

"CONNECT_URL=http://connect.1.url;dev cluster,http://connect.2.url;production cluster"

Web UI will be available at localhost:8000

Build from source

  1. git clone https://github.com/Landoop/kafka-connect-ui.git
  2. cd kafka-connect-ui
  3. npm install -g bower http-server
  4. npm install
  5. http-server -p 8080 .

Web UI will be available at localhost:8080

Nginx config

If you use nginx to serve this ui, let angular manage routing with

  1. location / {
  2. try_files $uri $uri/ /index.html =404;
  3. root /folder-with-kafka-connect-ui/;
  4. }

Setup connect clusters

Use multiple Kafka Connect clusters in env.js :

  1. var clusters = [
  2. {
  3. NAME:"prod", //unique name is required
  4. KAFKA_CONNECT: "http://kafka-connect.prod.url", //required
  5. KAFKA_TOPICS_UI: "http://kafka-topics-ui.url", //optional
  6. KAFKA_TOPICS_UI_ENABLED: true //optional
  7. COLOR: "#141414" //optional
  8. },
  9. {
  10. NAME:"dev",
  11. KAFKA_CONNECT: "http://kafka-connect.dev.url",
  12. KAFKA_TOPICS_UI_ENABLED: false
  13. },
  14. {
  15. NAME:"local",
  16. KAFKA_CONNECT: "http://kafka-connect.local.url",
  17. }
  18. ]
  • Use KAFKA_TOPICS_UI and KAFKA_TOPICS_UI_ENABLED to navigate to the relevant topic when you have kafka-topics-ui installed.
  • Use COLOR to set different header colors for each set up cluster.

Supported Connectors

For our 25+ stream-reactor Kafka Connectors we have a template of metadata within the supported-connectors.js. In any case you will be shown all the existing connectors in your classpath with all the required fields to set them up.

Changelog

Here

License

The project is licensed under the BSL license.

Relevant Projects

  • schema-registry-ui, View, create, evolve and manage your Avro Schemas on your Kafka cluster
  • kafka-topics-ui, UI to browse Kafka data and work with Kafka Topics
  • fast-data-dev, Docker for Kafka developers (schema-registry,kafka-rest,zoo,brokers,landoop)
  • Landoop-On-Cloudera, Install and manage your kafka streaming-platform on you Cloudera CDH cluster

www.landoop.com