Messaging (Kafka, Kafka Connect, Debezium) in Topologix
Data & Storage
The Messaging tab of Infrastructure shows every Kafka cluster you may see — one Apache Kafka integration per cluster (self-managed, Strimzi on Kubernetes, Amazon MSK, Confluent Cloud, Redpanda, Aiven). Each cluster is read through a proxy agent at most once a minute over the Kafka admin protocol: brokers and the controller, every topic the monitoring principal may describe (partitions, replication, offline / under-replicated / under-min-ISR partitions, retention), and every consumer group with its lag per topic. The server turns the topics' log-end offsets into a produce rate and the lag into seconds behind. Kafka Connect clusters (and AWS MSK Connect), Schema Registries and Debezium Servers are their own integrations linked to the Kafka one: the cluster's Linked block shows the Connect clusters → connectors → tasks, the Debezium connectors with their source database, snapshot and streaming lag next to the PostgreSQL slot's retained WAL, and the registry's subjects (also on their topics). Nothing on the page changes the cluster: there is no restart, pause or offset reset.
Requirements
- An Apache Kafka integration per cluster (see the Kafka guide), read through a proxy agent 1.365.0 or later running Node.js 22.22.0+ (or 24.6.0+).
- A principal with Describe on Cluster, Describe + DescribeConfigs on Topic:* and Describe on Group:* (Read is not needed). Kafka hides what a principal may not describe — the coverage block says what was visible and which ACL shows everything.
- Optional: a Kubernetes integration (same owner) with read access to the Strimzi resources, to see the Kafka / KafkaNodePool / KafkaConnect / KafkaConnector objects next to the cluster.
1 · Open the page
- Open Infrastructure → MessagingClick Infrastructure in the toolbar and the Messaging tab (an icon on phones), or search "kafka" in ⌘K. A link with
?view=messaging&cluster=<integration>§ion=groups&group=<group>opens a cluster on a group. - Pick a clusterEach card shows the brokers, topics, partitions and groups, the problems (offline / under-min-ISR / under-replicated partitions), the worst lag and when the cluster was last read (proxy or server). A red line is the last read's error — the previous good read stays on screen.
- Read the sectionsConsumer groups (the worst lag first): the state, the members (client id @ host — or "members unknown" for a group on the new consumer protocol, KIP-848), the lag per topic in messages and ≈ seconds behind, a 6-hour lag sparkline. Topics (problems first, search, problems only, internal topics on demand): partitions, replication factor, health, produce rate, retention, the groups reading it. Brokers: id, host, rack, the controller.
Lag in messages and in seconds
How the lag is computed
Lag of a partition = its log-end offset − the group's committed offset (a partition the group never committed is counted, not lagged). The produce rate of a topic is the change of its log-end offsets between two reads (only when both reads covered the same partitions); the lag in seconds = lag ÷ that rate. A lag on a topic that produced nothing since the last read is shown as "no produce since the last read" — the consumer is not reading and the time cannot be estimated.
Committed below the log start
A group whose committed offset is below the partition's first retained record lost records to retention before reading them — shown in red, and a critical finding.
History
Each read stores the lag of every group and topic (up to 5,000 rows a read, the worst first) and each topic's produce rate — kept 7 and 14 days by default (Admin → System → Background workers, value + source shown on the page).
Findings
Warn-only rules over the latest read; each threshold shows its value and whether it is the integration's own or the default, and is edited on the Kafka integration.
The rules
| Finding | Severity | Threshold (default) |
|---|---|---|
| Offline partitions | critical | any partition without a leader |
| Under the minimum in-sync replicas | critical | any partition with fewer in-sync replicas than min.insync.replicas (acks=all writes fail) |
| No active controller | critical | the metadata names no active controller |
| Broker missing | critical | a broker seen before, absent 2 reads in a row; forgotten (the finding resolves) after 24 h missing — that clock restarts when the Topologix server restarts |
| Records deleted before they were read | critical | a committed offset below the log start |
| Under-replicated partitions | warning | for 5 min |
| Consumer lag (time) | warning / critical | over 300 s / 3,600 s |
| Consumer lag rising | warning | grew at every read for 15 min, from 1,000 messages |
| Group without consumers | warning | a group in state Empty / Dead with ≥ 1 message(s) of lag |
| Lag near the topic's retention | warning | the unread messages reach 80 % of what the topic still holds |
- A read that failed or a read the ACLs refused changes no finding — unknown is never "fixed". "More than one active controller" is not visible in the admin protocol; the JVM (Jolokia) pack's ActiveControllerCount shows it.
- Findings are searchable by the assistant (search_events) and exported with the network findings (SIEM).
Coverage — what was read
Visible, filtered, refused, capped
Every read is listed with its state: read (with the visible count), filtered by the ACLs (a group commits to a topic the metadata does not list — the hidden count is shown), REFUSED (the …_AUTHORIZATION_FAILED answer, with the ACL that is missing), capped (more groups or partitions than the caps — 500 groups and 50,000 partitions by default; Stable groups and consumed topics first) or failed. Everything shows with Describe on Cluster, Describe + DescribeConfigs on Topic:* and Describe on Group:* (Read is not needed).
What changed
Between two reads: brokers joining / leaving, the controller moving, topics created / deleted (only between two complete reads) / repartitioned / reconfigured, groups changing state or rebalancing — kept 90 days by default.
Findings on the Alerts page
Through a canvas source
Every Kafka, Kafka Connect, Schema Registry and Debezium Server finding reaches the Alerts page and the notifications through a canvas source of its integration: add one to a board (a Kafka source can watch the cluster, one topic or one consumer group; a Connect source every connector or one). A critical finding makes a red card, a warning an amber one, named after the finding. Notification rules and routes work as for any source.
One card per finding per board
When several sources on one board cover the same finding, only the most specific one raises it: the topic or group source of a lag finding, the connector source of a connector finding, else the integration-wide source. A Connect, Registry or Debezium Server finding with no source of its own on the board is raised by the Kafka cluster-health source of the cluster it names. The other sources still list it.
Turning it off
Each source has a "Findings on the Alerts page" setting (on by default; the form shows the value and whether it is the default). The findings themselves stay on the Messaging page either way.
Canvas sources
Kafka
Cluster health (offline, under-replicated and under-min-ISR partitions, brokers, the worst lag), a topic (its partitions, produce rate and the worst consuming group's lag in seconds) or a consumer group (its lag in messages and in seconds, state, members). The server computes them from its own Kafka read (at most once per poll interval, 60 s minimum), so a source never reads the cluster itself and never runs on a proxy. A cluster that has not been read yet, or a read that is old, shows as an error, never as 0.
Kafka Connect and Debezium Server
A Connect source watches every connector (failed connectors + failed tasks) or one connector — a Debezium connector with its lag behind the source database. A Debezium Server source is up or down, with its lag.
On the map
What is drawn
The cluster, its brokers, the topics a consumer group or a connector uses plus the 20 worst (offline / under-replicated) — at most 300 topics a cluster, so a cluster with thousands of topics stays readable — the consumer groups on those topics (at most 300, the worst lag first) and the Connect connectors and Debezium Servers of the cluster.
The lines
A broker belongs to its cluster and a topic lives on it; a group consumes its topics (the group card shows the lag per topic); a source or Debezium connector produces to its topics and a sink connector consumes them; a Debezium connector reads from the monitored database it is linked to; a group runs on the hosts, VMs or pods its members connect from (a shared address is never guessed). A trace span naming kafka/<topic> is that topic. None of these lines carry tags — a cluster is shared infrastructure. A Kafka node is not a starting point of the impact (blast radius) view; the services that use the cluster are.
The applications that use Kafka
Kafka itself lists only its consumers, so the applications come from their own side: a traced service that sends to a topic (OpenTelemetry messaging spans, Zipkin / Elastic kafka/<topic>) produces to that topic on the map, a traced consumer consumes it — so producer → topic → consumer groups → consumers is one path. A service whose network flows reach a broker address, or whose configuration declares the brokers (bootstrap.servers, KAFKA_BOOTSTRAP_SERVERS, spring.kafka.bootstrap-servers), uses the cluster. Only your own clusters and services are joined; a topic name two of your clusters share (with no broker on the span to tell them apart), or a broker address two clusters list, draws no line — the cluster card counts them. A broker on a server Topologix monitors is matched by that server too; a broker advertised by a host name is matched only once a resolver of yours has answered that name.
Hosts
Broker hosts and consumer addresses follow the address rules of the organisation: a viewer without the address right sees them hidden.
The CDC path
Database to consumers
From a topic, a Debezium connector or a Debezium Server on this page — or from the slot row of a database's Replication block — "CDC path" shows the whole chain: the database → its replication slot (retained WAL, active or not) → the Debezium connector (how far behind the source) → its topics (produce rate) → the consumer groups (lag in messages and seconds) → the machines and services they run on.
What you can see
You need access to the integration you start from; every other integration on the path shows only when you can see it ("an integration you cannot see" otherwise, without its figures). No host is shown. At most 20 connectors, 30 topics a connector, 20 groups a topic and 10 consumers a group — the view says when it was cut.
The assistant
Questions it can answer
With a large-context model the assistant can read the clusters' health and open findings, a consumer group's lag and its trend, the state of connectors (the failing task's first error line, the Debezium lag, the source database and its slot) and the CDC path of a database, topic or connector. It reads what Topologix already collected — it never calls the cluster — and only the integrations of the conversation's scope, with no broker, consumer or worker host.
What changed and the digest
What changed and event searches include the Kafka events (topics, brokers, group states, connector and task states, schema registrations). The daily digest uses the cluster overview only.
Good to know
- Read-only: the page and the integration never restart, pause or reset anything.
- Debezium Servers that name no Kafka cluster you can see are listed under the clusters, read-only — they are not drawn on the map (a Debezium Server is drawn under the Kafka cluster it names).
- A Debezium connector also shows on its source database's Replication block: the slot's consumer row names the connector and its state, and "the connector stopped while its slot retains WAL" names both halves.
- Licence: each broker is one device (two listeners of one host count once; a broker on the address of a server you already monitor is that server). Confluent Cloud and MSK Serverless count one device per cluster. Topics, groups, connectors and schemas are free. A broker advertised by a hostname is matched to a monitored server only by that same name, not by the address it resolves to (a known limit).
Related guides
See it on your own infrastructure
Book a demo and we will walk you through Topologix with your systems in mind: on our cloud, or self-hosted in your own network.