This small application allows you to simply create a graph image from a Kafka Streams Ascii topology.
It was heavily inspired by
- https://github.com/zz85/kafka-streams-viz
- Work from danielpetisme on Quarkus dev module for Kafka Streams
I wanted to have something more clean that the rough images of zz85/kafka-streams-viz and I also wanted to have a standalone application as not everyone is using Quarkus
This app is deployed using github pages: https://gaetancollaud.github.io/kafka-streams-visualization/
Simply use Toplogy.describe() from Kafka Streams to get the Topology in Ascii format and put the output in the form
Topology myTopology = new StreamsBuilder()
// yourTopologyHere()
.build();
System.out.println(myTopology.describe()); // put this output in the form
To build the Docker image, run the following command from the project root:
docker build -t kafka-streams-visualization .
To run the application in Docker:
docker run -p 8080:80 kafka-streams-visualization
The application will be available at http://localhost:8080
- Render to SVG
- Render to Canvas (to allow copy/paste of the image)
- Topology stored in the URL (for easy exchange)
- Download images