Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Confluent CP Kafka, Zookeeper, Rest Proxy and Landoop UI stack for deployment

NotificationsYou must be signed in to change notification settings

apollo90/confluent-kafka-landoop-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

A kafka stack with topics ui embedded for viewing of topics

Pre requisites

  • Docker CE/Enterprise
  • Docker Compose

NOTE : ensure that the following ports are open, 80,3030,9091-9092,8081-8083,2181

Running it

First clone this repo in you suitable folder

  git clone https://github.com/apollo90/confluent-kafka-landoop-ui.git

Navigate to /confluent-kafka-landoop-ui/docker-compose.yml and change PUBLIC_IP_ADDRESS to you actual address on the advertised listener environment variable

  KAFKA_ADVERTISED_LISTENERS: INTERNAL://kafka:9091,EXTERNAL://PUBLIC_IP_ADDRESS:9092

Execute the docker compose command to bring the stack up

  docker-compose up --build -d

Setup Kafka Rest clusters(optional)

Use multiple Kafka Rest clusters inenv.js :

var clusters = [    {      NAME: "prod",      KAFKA_REST: "http://kafka-rest-ip:8082",      MAX_BYTES: "50000",      RECORD_POLL_TIMEOUT: "5000",      DEBUG_LOGS_ENABLED: true,      LAZY_LOAD_TOPIC_META: false    },    {      NAME: "dev",      KAFKA_REST: "localhost",      MAX_BYTES: "50000",      COLOR: "#141414", // Optional      RECORD_POLL_TIMEOUT: "5000",      DEBUG_LOGS_ENABLED: true,      LAZY_LOAD_TOPIC_META: false    }  ];

Config

  • UseMAX_BYTES to set the default maximum amount of bytes to fetch from each topic.
  • UseRECORD_POLL_TIMEOUT to set the timeout in ms.
  • UseCOLOR to set different header colors for each set up cluster.
  • SetDEBUG_LOGS_ENABLED to true to enable the debug logs.
  • SetLAZY_LOAD_TOPIC_META to true to lazy load topic meta information.

Common Issues

If having"CONNECTIVITY ERROR" problems make sure the filekafka-rest.properties has CORS enabled.To enable CORS add the following configuration to that file, and restart the backend Kafka-Rest

access.control.allow.methods=GET,POST,PUT,DELETE,OPTIONSaccess.control.allow.origin=*

If using a recent version of the Kafka-Topics-UI and Kafka-REST, make sure that you have properly configuredKafka-REST with the new consumer API. That requires setting up in the configuration of Kafka REST

bootstrap.servers=PLAINTEXT://ip-address-of-kafka-broker:9092

Make sure you restart Kafka REST after changing it's configuration files

Maintainers

  • Charles Mutale(apollo90)

About

Confluent CP Kafka, Zookeeper, Rest Proxy and Landoop UI stack for deployment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp