Latest commit 758915b Jul 11, 2018
Permalink
..
Failed to load latest commit information.
src/main Display latest values in the page Feb 27, 2017
README.adoc just this one typo Oct 9, 2017
pom.xml Update for 3.5.3 Jul 11, 2018

README.adoc

Vert.x Kafka Client examples

Here you will find examples demonstrating the usage of the Vert.x Kafka Client.

Monitoring dashboard

The monitoring dashboard examples shows the usage of both the producer and consumer APIs of the Kafka client.

The MetricsVerticle.java uses the Kafka producer API to produce metrics in Json format.

The DashboardVerticle.java uses the Kafka consumer API to consume the metrics and send them to a monitoring dashboard using the Event Bus.

The MainVerticle.java is the main program you should start as it starts a Kafka broker and then configures the DashboardVerticle and the MetricsVerticle with their consumer and producer config.

Run the MainVerticle main method and then open your browser at http://localhost:8080/

In real usage the Kafka broker would probably be managed externally and the DashboardVerticle / MetricsVerticle executed separately with their own configuration.