Requires Alginte 0.8.0 or newer.
Word count on the Stream Flow tab, DEBUG metrics on: throughput per node, store entries on the count, health as the frame color.
What the badges show
Open a stream’s detail page and switch to Stream Flow. Each node carries a badge with the measurements Kafka actually records for it:N entries— the live size of a stateful node’s store (aggregates, counts, reducers). Always on.N msg/s/N total— throughput. Exact on source nodes and on grouping nodes (records crossing the repartition boundary); values prefixed with~are attributed from the surrounding subtopology — exact for linear chains, an upper bound around branches.- The canvas frame is colored by the stream’s state — green running, red error — so a screenshot of the tab is a health check in itself.
The DEBUG metrics toggle
Kafka Streams records throughput only at itsDEBUG metrics level, which is
off by default because it has runtime cost. The Live throughput (DEBUG
metrics) switch above the canvas turns it on for this stream only:
- Flip the switch — Alginte briefly recycles the stream’s runtime client to apply the level. Offsets and state continue; processing resumes within seconds.
- Throughput badges light up with real numbers as records flow.
- Flip it back off when you’re done watching — the store-size badges and state coloring keep working either way.
Where the numbers come from
Everything on the canvas is served byGET /api/kafka-streams/streams/{applicationId}/node-metrics — the same
runtime metrics visible raw on the Metrics tab, grouped per canvas node.
Refresh follows the page’s auto-refresh control, so the badges update on
whatever cadence you’ve set.