mesos / kafka

Apache Kafka on Apache Mesos
Apache License 2.0
414 stars 140 forks source link

Provide simple WEB UI #108

Open dmitrypekar opened 9 years ago

dmitrypekar commented 9 years ago

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:

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.

mindscratch commented 9 years ago

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

joestein commented 9 years ago

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.

SEJeff commented 9 years ago

@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?

tobilg commented 8 years ago

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

sjoerdmulder commented 8 years ago

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:

TODO:

image

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

joestein commented 8 years ago

@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