Help › Explore a database
Read messages from a Kafka topic
Open a Kafka topic in a topic tab, choose the partitions and where to start, find messages by key or by what their value contains, and follow new ones as they arrive.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
A Kafka topic opens in a topic tab: a row of fields saying what to read, and the messages under it in the results grid, one row per message. Querlyn reads the partitions directly and joins no consumer group, so reading never moves a group's offsets.
Open a topic
Double-click a topic in the sidebar, or select it and choose . The tab reads the newest 100 messages of every partition at once. A topic that already has a tab is not opened twice.
Choose what to read
The fields above the messages, from left to right:
| Field | What it does |
|---|---|
| All partitions | Every partition, or one of them. |
| From | Where reading starts in each partition: Newest (the last messages, as many per partition as the number beside it), Beginning (the first message the partition still holds), Offset (that offset, or the nearest one the partition holds), Time (the first message at or after it), or End (new only) (nothing before now; use it with Follow). |
| The value beside From | The number of newest messages per partition, the offset, or the time. A time is in UTC, written 2026-10-09 14:00, 2026-10-09T14:00:00+02:00 with its offset, or as how long ago: -2h, -30m, -1d. |
| Key = | Only messages whose key is exactly this text. |
| Value contains | Only messages whose value contains this text, in upper or lower case. |
| Limit | The most messages shown (500 at first). |
Press ↩ on macOS or Enter on Windows and Linux in a field, choose Read, or use (⌘↩ on macOS or Ctrl+Enter on Windows and Linux reads too). The line under the fields says what is on screen, such as "The newest 100 of every partition · 600 messages". A field Querlyn cannot read is named there in red, and nothing is read until it is fixed.
While a read runs, Cancel stops it; the messages read so far stay.
Find messages by key or value
With Key = or Value contains filled in, Querlyn reads the partitions from where they start and shows the messages that match. The line under the fields counts both: "scanned 48,210 · 6 match". A filtered read stops after 100,000 messages scanned and says so; start later, choose one partition or narrow the search to look further.
A key or value is compared as text: a value that is not text never matches Value contains.
Follow new messages
, the Follow button, reads from where From says and then keeps reading as messages arrive: new rows are added at the bottom, and a green dot in the line under the fields says it is following. While the bottom of the grid is in view, it stays in view as rows arrive, so new messages show as they come; scroll up to read earlier ones in peace, and back to the bottom to follow again. Pause stops asking for new messages without ending the read, and Resume asks again (). Stop Following ends it.
While following, Limit does not apply. Following stops by itself when the tab holds as many messages as its memory budget allows; see Large results.
Read the messages
Each row is one message:
| Column | What it holds |
|---|---|
| partition, offset | Where the message is. |
| timestamp | Its time, in UTC. |
| key | Its key: JSON when it is a JSON object or array, text when it is text, bytes otherwise; empty when it has none. |
| value | Its value, shown the same way. |
| headers | Its headers as one JSON object. A header name that repeats holds an array of its values; a value that is not text is written {"$base64": "…"}. |
| value schema ID | Shown when the first messages read were written for a Schema Registry: the ID of each value's schema. |
| decode error | Shown when the connection has a Schema Registry: why a key or value could not be decoded, such as a schema the registry does not have. The key or value is then shown as its bytes. |
Value above the grid shows a long value in full, and copying and exporting work as for any result; see Look at a value in full and Export results. Messages cannot be edited.
Avro values and keys
Producers that use a Confluent Schema Registry write each value (and often each key) as the ID of its schema followed by the data. When the connection names its Schema Registry URL (see Connect to Apache Kafka), Querlyn asks the registry for each schema it meets, once per session, and shows Avro keys and values as JSON:
- A record's fields appear in the schema's order; a field that can be one of several types shows its value.
- Dates, times and timestamps are written as dates and times
(
2026-10-09T14:00:00.123Z, in UTC), decimals as exact numbers in quotes ("12.34"), bytes as{"$base64": "…"}. - A key or value that is a single string is shown as text.
A value written with a JSON Schema is shown as JSON. Protobuf values are not decoded and stay bytes. When a key or value cannot be decoded (the registry does not have its schema, refuses the user and secret, or the bytes do not fit the schema), it is shown as its bytes and decode error says why. Key = and Value contains look at the decoded text.
Without a registry, a value written for one shows its schema ID, and a JSON value after the ID is shown as JSON; Avro and Protobuf values are shown as bytes.
The order of the messages
The messages of every partition read are shown as one list, oldest first by timestamp, so a read of the whole topic, and following it, reads like the end of one log. Messages with the same timestamp are in partition order, then offset order. Within one partition, messages always stay in offset order, the order the partition holds them in. A limit takes the oldest messages across all the partitions read.
Kafka gives each message its timestamp in one of two ways, chosen per
topic by its message.timestamp.type setting:
- CreateTime (Kafka's default): the time the producer gave the message, usually when the application sent it.
- LogAppendTime: the time the broker wrote it.
With CreateTime, the order is only as good as the producers' clocks. A producer whose clock is behind, or one that sets timestamps itself (when replaying old events, for example), writes messages that sort earlier than they were written. Such a message still stays in its place within its partition, so it comes after the messages before it in that partition, whatever their timestamps. And Querlyn never holds back a read waiting for partitions that have nothing new: while following, a message that arrives with an older timestamp than the ones already shown is added at the bottom when it arrives. To see a partition exactly as it is stored, choose that partition alone under All partitions.
Messages of aborted transactions
Querlyn reads only committed messages: messages that a producer wrote in a
transaction it then aborted are left out, as Kafka's consumers do with
isolation.level=read_committed. To see them too, turn off Committed
Only in the toolbar ()
and read again; the line under the fields says that aborted messages are
shown. Kafka's own control records are never shown.
When Querlyn starts again
Topic tabs open when Querlyn quit are opened again when it starts, with their fields as they were: the partitions, where to start, the limit and Committed Only. Key = and Value contains come back too, except on connections whose query history keeps no statement text (Production's by default), where they start empty. Nothing is read and Querlyn does not connect until you choose Read (or Follow); until then the line under the fields says the topic has not been read yet. Consumer group tabs come back the same way and read the group when you choose Refresh.
Next
- Produce a message
- Manage topics: partitions, settings, deleting
- Consumer groups and their lag
Help for Querlyn 0.1.0. All help topics