Skip to content

buildoop/kafka-hue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka-HUE: Apache Kafka HUE Application

Kafka-HUE is a HUE application to admin and manage a pool of Apache Kafka clusters.

Requirements

Main Stack

  • Python
  • Django
  • Mako
  • jQuery
  • Bootstrap

Installation

To get the Kafka-HUE app integrated and running in your HUE deployment (assuming hue as administrator user HUE):

$ sudo -E -u hue .$HUE_HOME/build/env/bin/python pip install zope.interface
$ sudo -E -u hue .$HUE_HOME/build/env/bin/python pip install kazoo
$ git clone http://github.com/danieltardon/kafka-hue.git
$ mv kafka-hue/kafka $HUE_HOME/apps
$ cd $HUE_HOME/apps
$ chown -R hue.hue kafka
$ sudo -E -u hue ../tools/app_reg/app_reg.py --install kafka --relative-paths

Modify the hue.ini config file as follows and restart HUE.

HUE.ini Config section

Configs needed in hue.ini config file.

[kafka]

 [[clusters]]

  [[[default]]]
    # Zookeeper ensemble. Comma separated list of Host/Port.
    # e.g. localhost:2181,localhost:2182,localhost:2183
    zk_host_ports=localhost:2181,localhost:2182,localhost:2183

    # The URL of the REST contrib service (required for znode browsing)
    zk_rest_url=http://localhost:9998

    # Path to brokers info in Zookeeper Znode hierarchy
    brokers_path=/brokers/ids

    # Path to consumers info in Zookeeper Znode hierarchy
    consumers_path=/consumers

Compile locales

To compile the locales:

Set the ROOT variable in the Makefile file pointing to the HUE installation path.

Compile with make.

$ cd $HUE_HOME/apps/kafka
$ sudo -E -u hue make compile-locale

Restart HUE.

License

Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

-- Daniel Tardón dtardon@redoop.org

About

Hue application for Apache Kafka fork from Daniel Tardon (Redoop)

Resources

License

Stars

Watchers

Forks

Packages

No packages published