kafka icon indicating copy to clipboard operation
kafka copied to clipboard

Provide simple WEB UI

Open dmitrypekar opened this issue 10 years ago • 6 comments

I think that it would be very convenient for most of the users to have WEB UI (together with CLI). A simple WEB UI could be added to be embedded inside HttpServer.

It could be a single-page-app, containing just 2 tabs:

  • brokers - allows to manage brokers (list|add|update|remove|start|stop)
  • topics - allows to manage topics (list|add|update|rebalace);

I know that this would require some additional effort, but it should not very big and, imho, some basic version could be implemented and delivered in 5-10 days. We could start just with brokers tab, for instance.

dmitrypekar avatar Aug 27 '15 12:08 dmitrypekar

Not exactly what you're looking for but it's quite helpful https://github.com/yahoo/kafka-manager

mindscratch avatar Sep 01 '15 14:09 mindscratch

Hey @mindscratch we modified kafka-manager for some of these https://github.com/stealthly/kafka-manager but not sure how maintainable that is going to be with upstream/downstream re-base. It would be great to have a single kafka-manager that can support implementations, agreed.

joestein avatar Sep 02 '15 13:09 joestein

@joestein Maybe the "solution" is a React.js client that is a static bit of html + javascript and simply uses the existing HTTP api you've so nicely written for this framework?

SEJeff avatar Sep 23 '15 19:09 SEJeff

@joestein If I understood correctly, you forked the yahoo/kafka-manager project and replaced the "JMX scheduler" with the mesos/kafka one, right?

tobilg avatar Oct 19 '15 23:10 tobilg

I have created a first version of the WebUI using Angular and Material Design here: https://github.com/sagentio/kafka/tree/feature/webui

Currently works:

  • List brokers
  • Start broker
  • Stop broker
  • Remove broker
  • List topics

TODO:

  • Add a broker
  • Add a topic
  • Update a topic
  • Create overview / detail screens per broker / topic that shows more info.
  • Add menu on the left and some logic navigation.

image

Please let me know what you think of it and if you would consider this usable!

sjoerdmulder avatar Nov 26 '15 13:11 sjoerdmulder

@tobilg correct, we haven't integrated the admin though so that is still kafka-manager instead of through scheduler ... having it through the scheduler is important so we can have things like rackaware partition assignment, rebalancing, etc so it is more of a view only thing really

@sjoerdmulder cool, we'll take a look

joestein avatar Nov 26 '15 13:11 joestein