Why a table of messages is not enough
Most tools show a Kafka topic as a table: the offset, the key, and the value of each message. A table tells you what is in one message. It does not tell you what your system does.
When something is wrong, you ask different questions:
- Is this topic active at this moment?
- When did the messages stop, and when did they start again?
- What came after this message, in the other topics?
These are questions about time. A picture of time gives the answer faster than a list.
streamview draws time from left to right, and gives each topic one lane. One message is one thin mark. When you zoom out, many messages become a bar, and a taller bar means more messages. All lanes use the same clock, so you can compare one topic with a different topic.
What you see on the timeline
The screenshots on this page are from a real broker. They show the example order system of the Kafka tutorial: six services that send messages to each other through ten topics.
A fault has a shape
In this example, the payment gateway stopped for approximately one minute.

You did not write a query to find this, and you did not read a message. The gap and the burst are visible as soon as you look at the page.
A changed payload is amber
A release changed the total field of an order from a number to text.

streamview learns the usual fields of each topic from its first 20 messages. You do not give it a schema. A message with a missing field, a new field, or a field of a different type gets a flag. This is not a schema check. It shows that the shape of a message changed. How streamview flags an event has the details.
One order goes through many topics
Click a message. streamview finds all messages that have the same correlation ID, in all topics.

If your messages are plain JSON, tell streamview which field connects them, for example --correlation-field orderId.
The Copy button above the trace copies all messages of the order. The Share button copies a link that opens the same trace.
Get started
You need macOS or Linux, and Node.js for the Kafka command.
- Install streamviewcurl -fsSL https://github.com/event-catalog/streamview/releases/latest/download/install.sh | sh
- Start it with the address of your brokerstreamview kafka --brokers localhost:9092
The first start installs the Kafka adapter. This takes some seconds.
- Look at your topics
The browser opens at
http://localhost:4747. Drag across the timeline to zoom in, and click a mark to open a message.
These options are useful for a first look:
| Option | What it does |
|---|---|
--topics '^orders\.' |
Reads only the topics that match a regular expression. |
--latest |
Shows only new messages. streamview does not read the stored messages. |
--correlation-field orderId |
Connects the messages that have the same value in this field. |
--tls --user NAME |
Connects to a broker that needs TLS and a login. |
Connect to Kafka has all options.
If you do not have a broker, the Kafka tutorial starts the example of this page with Docker.
You can also run streamview demo, which shows a mock order system and needs no setup.
Is it safe to connect it to a real cluster?
streamview only reads.
A Kafka topic is a log. Kafka does not delete a message when a consumer reads it, and it keeps one position for each consumer group. streamview reads as a consumer group of its own, so the offsets of your groups do not change. It does not publish messages.
You can see two effects on the broker:
- The broker shows one more consumer group for each start of streamview.
- The broker sends the data one more time. With many stored messages, this is a load on the broker. Use
--topicsor--latestto decrease it.
There are limits that you must know before you connect it to production:
- The page has no login. Each person who can open it can read all messages. By default, it accepts connections only from your computer.
- We tested TLS and the login with Redpanda, not with a hosted Kafka service.
- streamview reads JSON. It does not decode Avro or Protobuf.
How streamview reads without taking messages and Limits have the full lists.
What happens, and what must happen
A timeline shows what happens on your topics. It does not tell you what must happen:
- What is this topic for?
- Which services write to it, and which services read from it?
- Which schema do its messages have, and who owns it?
Those answers are documentation. For that, the same team makes EventCatalog, an open source tool that documents an event-driven architecture: the events, the channels such as Kafka topics, the services, the schemas, and the owners. EventCatalog also draws the architecture from that documentation, and it has an integration for Confluent Schema Registry.
The two views go together. The catalog tells you that payments.captured comes after payments.authorized.
The timeline shows you that today, for more than one minute, it did not.
streamview shows your topics in real time. EventCatalog documents them: what each topic is for, which services use it, and who owns it.
Go to eventcatalog.devQuestions and answers
How do I visualize Kafka topics?
Install streamview, then run streamview kafka --brokers localhost:9092 with the address of your broker. Your browser opens a live timeline with one lane for each topic. There is nothing to configure, and you do not write a schema.
Does streamview change my consumer offsets?
No. streamview reads with a consumer group of its own, and each start uses a new group name unless you give one with --group. The offsets of your consumer groups do not change, and your services get all their messages. streamview does not publish messages to Kafka.
Does it work with Redpanda, Confluent Cloud, or Amazon MSK?
streamview works with brokers that use the Kafka protocol, and we test it with Redpanda. It has TLS and a login with a user name and a password (plain, scram-sha-256, and scram-sha-512). We did not test it with a hosted Kafka service. It does not have the IAM login of Amazon MSK, OAuth, or Kerberos.
Do my messages need a schema or a special format?
No. streamview reads plain JSON messages and CloudEvents, and it does not need a schema registry. It does not decode Avro or Protobuf.
Can I see old messages, or only new messages?
Both. By default, streamview reads the stored messages of each topic first, sorts them by time, and then continues with new messages. Add --latest to see only new messages.
Can streamview show consumer lag?
No. streamview shows messages, not consumer groups. But you can see the effect of a slow consumer, because the topic that it writes to goes quiet and then shows a burst.
Is streamview free?
Yes. streamview is open source with the Apache License 2.0. It runs on your computer, and it stores the messages in a file on your computer.
What is the difference between streamview and EventCatalog?
streamview shows the messages on your topics in real time. EventCatalog documents your architecture, which includes what each topic is for, which services use it, and who owns it. The same team makes both, and both are open source.
Where to go next
All options, which include TLS, a login, a topic filter, and a named consumer group.
Watch a Kafka systemA tutorial with an example order system on a real broker. You need only Docker.
Follow one orderConnect the messages of one order across topics, and send the trace to a different person.
How streamview readsWhy streamview does not take messages from your services, and where the limits are.
More guides: Visualize MQTT topics, Visualize NATS subjects
