Data Consumer

Read a topic live or up to its end, filter on the server what KCM reads, and search what is already in your browser. This page covers every setting, the syntax of the filters and of the search, and what stays masked.

Open Data Consumer in the menu, or choose Consume in the action menu of a topic: the page opens on a tab for that topic and starts reading at once. Several tabs can stay open side by side, each with its own settings. For producing messages, see Produce and consume.

Criteria

The criteria are on top of the page. The topic comes first; the settings you rarely change are folded in the Advanced section, which shows a one line summary while it is closed.

SettingWhat it does
TopicThe topic to read. The field has the focus when you open an empty tab.
Start fromWhere the read begins, see below. The field it needs (the number of messages, a date, offsets) appears next to it, and only then.
Until (optional)A date and time: later messages are skipped, and the read ends after it.
Keep listening for new messagesOn (default): the read goes on and shows new messages as they arrive. Off: the read stops at the end of the topic as it is when you press Start, or at the end offsets or the end date.

Start from

ChoiceReads
Last N messages (default: 100)The last N messages, spread over the partitions that are not empty (10 to 10,000), then the new ones.
Beginning (earliest)From the start of each partition.
New messages only (latest)Nothing that is already there: it waits for new messages.
Date and timeFrom a date. A partition with no message after the date starts at its end.
Offsets per partitionFrom a start offset for each partition, and optionally up to an end offset.

A tab or a preset you saved keeps the start it had; the last 100 messages is the start of a new tab.

Advanced

SettingWhat it does
Schema RegistryThe registry used to decode keys and values. It is chosen for you when there is only one.
PartitionsThe partitions to read. Empty means all of them.
Batch sizeHow many messages KCM fetches per poll (10 to 500).
Read committedLeaves out the messages of transactions that were aborted or are not committed yet.
List limitHow many of the newest messages the page keeps: 1,000, 5,000 (default), 10,000 or 50,000. Above the limit the oldest messages are removed from the list, and the progress line says how many.
KCM never moves your consumer offsets

The page never commits offsets. Reads from a date, an offset or the last N messages leave no consumer group on the brokers; the others use a temporary group that is deleted when the session ends.

Server filters and local search

The page has two ways to narrow what you see, and they work at different places.

Server filters (Filters)Search of the loaded messages
WhereOn the server, on every message read, before it is sent to the browser.In your browser, on the messages already in the list.
EffectDecides which messages reach the list at all, and so which ones are counted and kept.Hides messages of the list. Nothing is removed from it, and clearing the search shows them again.
When it countsFor the messages read after the filters apply.At once, on what is loaded.
SyntaxFilter syntaxSearch syntax

Use a filter to read less from a topic that is large; use the search to look around in what you already have.

Writing and editing filters

Under the action buttons, one line holds the filters as a text query. It is checked as you type: a query that does not parse leaves your filters as they were and shows the error with a mark under the first wrong character. The active filters appear as chips below it, and each chip has a cross to remove it.

Edit visually (or the Filters button) opens a panel beside the page with the same filters as groups and cards: type, field or header name, operation and value, with a small label above each field. The list stays visible while the panel is open. The text query and the cards always show the same filters, and you can edit either one. The footer of the panel has Clear all filters (it asks first), Cancel and Apply.

Filter syntax

A filter is a target, an operator and a value, for example value.status = "PAID". Filters are combined with and, or and not.

Targets

TargetLooks atExample
keyThe key of the message, as text.key startswith "ORD-"
valueThe whole value, as text.value contains "timeout"
value.<path>One field of a JSON, Avro or Protobuf value. See paths.value.customer.city = "Paris"
header.<name>The value of the header with that name.header.source = web
headerThe value of any header.header contains "retry"
headernameThe names of the headers.headername = traceId
partitionThe partition number.partition in (1, 2)
offsetThe offset in the partition.offset >= 1500
timestampThe time of the message. See dates.timestamp after 2026-11-20T10:00:00Z
sizeThe size on the topic in bytes, key and value together.size > 100000
schemaThe Schema Registry id of the value, else of the key.schema = 12

Partition, offset, timestamp, size and schema are not personal data: the masking never touches them.

Operators

OperatorMeansExample
=Equals.value.status = "PAID"
!=Does not equal.header.source != mobile
containsContains the text.value contains "error"
startswithStarts with the text.key startswith "ORD-"
endswithEnds with the text.key endswith "-eu"
~Matches a regular expression.value.orderId ~ "^ORD-\d{4}$"
> >= < <=Compares numbers (or dates, for a JSON field that holds one).value.amount >= 100
in (a, b, c)Equals one of the values (up to 100).value.status in ("PAID", "NEW")
between x and yLies between two values, bounds included.offset between 100 and 200
existsThe field, the header or the metadata is there.value.customer.email exists
before afterEarlier or later than a date.timestamp before 2026-11-21

Not every operator fits every target: timestamp takes before, after, between and =; partition and offset take =, in, the comparisons and between; text targets take the text operators. The page tells you when an operator does not apply.

Put not in front of any filter to turn it around: not partition in (1, 2). A message that has no such field matches a negated filter.

Combining filters

Paths into a value

A value.<path> target reads a field of a JSON, Avro or Protobuf value. Field names are case sensitive.

PathReads
value.statusThe field status at the top.
value.customer.address.cityA nested field.
value.items[*].skuThe field sku of any element of the array items: the filter matches when one element matches.
value.items[0].skuThe field sku of the first element only.
value..emailEvery field named email, at any depth.

In the visual editor, the field path suggests the paths of the schema of the topic and of the messages already received.

Dates

A timestamp filter, and a date compared with a JSON field, accept:

Groups

In the visual editor, filters live in groups that you can nest up to three levels. A group keeps a message when it matches:

Negation is part of the operations too: does not equal, does not contain, is not one of and does not exist are the operations equals, contains, is one of and exists with a not in front, and the text query shows them that way. A session takes up to 50 filters.

Search syntax

The search field sits above the list: Search in the N loaded messages. Separate terms with spaces: every term must match. A term is free text, or a qualifier followed by a colon.

TermKeeps the messages
paidWhose key, headers or payload contain the text, ignoring case. This is the only kind of term that is highlighted.
"two words"Same, for a text with spaces.
key:ORD-1Whose key contains the text.
key:="ORD-1089"Whose key is exactly that.
partition:1Of partition 1. partition:1,2 keeps either.
offset:119With that offset.
offset:>=100With an offset in the range: >, >=, <, <=.
offset:100..200With an offset from 100 to 200, bounds included.
header:source=webWith a header source whose value contains web.
header:source==webWith a header source whose value is exactly web.
header:sourceThat have a header named source.
header:=webWith any header whose value contains web (header:==web for exactly).
value:paidWhose payload contains the text (the key and headers are not looked at).
schema:12Whose value or key uses the schema id 12.
schema:avroWhose value or key uses a schema of that type.

The magnifier that appears on the key, partition and offset cells of a message opens a small menu: Search for this in the loaded messages adds the exact term (partition:1, key:="ORD-1089", offset:119) to the search, and Filter on this (Filters) adds the matching server filter.

The range of dates of the list is in the Timestamp column: click its filter icon and give a start and an end.

Working with the messages

Counters

While a session runs, one line shows how many messages each step kept:

Read 273  →  Matched 189  →  In list 189  →  Visible 12

In the visual editor, each filter and each group shows how many messages it matched out of the ones it looked at, as 189 / 273 match, so you can see which filter removes the most. Clear list empties the list and the read goes on.

Changing filters while reading

Edit the filters while a session runs: a warning bar says they are not used by the session yet, with an Apply now button (the panel has one too). The new filters count for the messages read next. The messages already in the list stay, and a line marks where the new filters begin. Filters changed while no session runs apply when you press Start.

Filter or exclude from a message

Open a message: the bar at the top of the window has Copy value and Filter on this…. Filter on this… adds a server filter on the key or the partition of the message, or excludes it, keeps the messages after or before its date, or excludes that exact date. The same menu searches the loaded messages for its key, partition or offset. A partition joins the partition is one of filter that already exists instead of making a second one. In the Attributes and Headers tabs, Filter and Exclude next to each field or header do the same for that value. The cell menu of the list offers the same, without opening the message.

The More menu of the window has Send to Produce… (the Produce Data panel with this message ready to edit and send), Re-send to topic… (produces this message again on its topic after a confirmation) and Download (this message as a JSON file, as the window shows it).

Presets

The Presets menu of the toolbar saves the settings of the page (topic, partitions, start, filters, limits) and applies them again later, from any tab:

Presets apply and save when no session runs.

Selecting messages

Tick the box of a row to select it, or the box of the header to select the rows of the page. A bar above the list shows how many messages are selected, with:

The selection stays while new messages arrive. A selected message that the search hides stays selected, and the bar says how many are hidden. A message removed from the list (list limit or Clear list) leaves the selection. Start and a change of topic clear it. Each tab has its own selection, and it is never saved.

Export and send to Produce

Long messages and hexadecimal

Compare

Select two messages in the list and choose Compare in the selection bar. The window shows them side by side, the older one as A and the newer one as B, with a tab for the value, the key and the headers, and the number of differences on each tab. Compare uses the messages as the list shows them, masked where the topic masks.

Reading __consumer_offsets

KCM decodes the records of the internal topic __consumer_offsets and shows each key and value as JSON. Confluent Cloud does not expose this topic.

A record type KCM does not know is shown as unsupported record type vN with the size of its key. A record without a value is a tombstone and says what was deleted: offset deleted, group deleted, member removed, regular expression removed or record deleted. A record that does not match its format is shown with the decoding error and, when the topic has no masking, its raw bytes.

Filters and masking apply to the decoded JSON, for example a key filter containing "group":"my-group" with a value field filter offset greater than 1000.

Masking

When a topic has masked fields (see Classification and masking), KCM masks each message before it applies the filters. A filter therefore only sees the masked value: it can never reveal a masked value by matching it, and it will not match the real one either. The editor warns you when a filter looks at a masked field, and the attributes of a message mark the masked fields. Messages that cannot be decoded are not sent at all for such topics, and binary content without a decoder (for example Protobuf without a registered schema) is masked as a whole when the classification names fields of the topic. Re-sending a message to its topic produces it again there and does not display its content.

The search of the loaded messages, the exports and Send to Produce… work on the messages as the server sent them, so they hold the masked values too.

Audit

The audit trail records each live session: who read which topic, and the filters it used (the structure and the operations, not the messages). It records each change of filters during a session, each export (topic, format and number of messages, not the file), and the messages produced from the page. Message content is never written to the audit trail or to the logs. See Audit trail.

Permissions