# Kafcon
Kafcon is a Apache Kafka controller powered by Scala.

Inspired by Kafka Manager and Trifecta which are famous as Kafka Web UI.

This is **EXPERIMENTAL** and **UNDER DEVELOPMENT** software for personal use.

## Features
The current beta version of Kafcon provides a feature below:

* RESTful API
  * Cluster metadata
  * Brokers metadata and metrics
  * Topics metadata

## RESTful API Endpoints
* Cluster API
  * `GET /api/v1/clusters`: Metadata of the cluster
* Broker API
  * `GET /api/v1/brokers`: Metadata of all brokers
  * `GET /api/v1/brokers/<brokerId>`: Metadata of a specific broker
* Broker metrics API
  * `GET /api/v1/brokers/metrics`: Combined metrics of all brokers
  * `GET /api/v1/brokers/<brokerId>`: Metrics of a specific broker
* Topic API
  * `GET /api/v1/topics`: Metadata of all topics
  * `GET /api/v1/topics/<topicName>`: Metadata of a specific topic

## Future features

* Web UI (probably SPA)
* Viewing Messages stored in Kafka (like Trifecta)

## Licence

This software is licensed by MIT License, see LICENSE.

# Kafcon
Kafcon is a Apache Kafka controller powered by Scala.

Inspired by Kafka Manager and Trifecta which are famous as Kafka Web UI.

This is **EXPERIMENTAL** and **UNDER DEVELOPMENT** software for personal use.

## Features
The current beta version of Kafcon provides a feature below:

* RESTful API
  * Cluster metadata
  * Brokers metadata and metrics
  * Topics metadata

## RESTful API Endpoints
* Cluster API
  * `GET /api/v1/clusters`: Metadata of the cluster
* Broker API
  * `GET /api/v1/brokers`: Metadata of all brokers
  * `GET /api/v1/brokers/<brokerId>`: Metadata of a specific broker
* Broker metrics API
  * `GET /api/v1/brokers/metrics`: Combined metrics of all brokers
  * `GET /api/v1/brokers/<brokerId>/metrics`: Metrics of a specific broker
* Topic API
  * `GET /api/v1/topics`: Metadata of all topics
  * `GET /api/v1/topics/<topicName>`: Metadata of a specific topic

## Future features

* Web UI (probably SPA)
* Viewing Messages stored in Kafka (like Trifecta)

## Licence

This software is licensed by MIT License, see LICENSE.

Fix broker metrics API endpoint
Fix broker metrics API endpoint

Signed-off-by: Ryo Ochiai <6f891ae2da52dfccd7054b6de61b2b97304e9662@kemuridama.net>
