Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Kafka Compliance: Data Classification

The Data Classification page, headed Asset Management & Data Classification in AxonOps, reports how the topics and Connect connectors in a Kafka cluster are classified and whether the regulated ones have an accountable owner. Classification and ownership are recorded as object metadata within AxonOps: a data-classification tag and an owner tag.

A classification is a declarative label held in AxonOps. AxonOps does not scan message content to derive or check it, and the Kafka brokers neither see nor enforce it. A topic labelled Public that carries personal data is reported as Public.

Aggregation runs on the AxonOps server, which groups objects by classification and applies the regulated-class policy. The page is divided into a Topics group and a Connectors group. The two groups apply the same classification model and the same regulated classes; a cluster with no Connect connectors reports no connectors rather than a gap.

AxonOps recognises a fixed set of five classifications:

ClassificationRegulated
PII✅
PCI✅
Financial✅
Public❌
Unclassified❌

Legend: ✅ Regulated (an owner is required) | ❌ Not regulated

The data-classification value is matched case-insensitively after leading and trailing whitespace is removed, so pii and PII both count as PII. An object with no data-classification tag, or with any value outside PII, PCI, Financial, and Public (for example Internal or Confidential), is counted as Unclassified. Such an object is also outside the regulated-owner check, so a misspelt regulated value such as PI removes the object from both regulated panels without any indication.

Tags are matched to objects by name: a topic’s tags are stored against the cluster and topic name, and a connector’s against the cluster, Connect cluster, and connector name. The census reads only objects that currently exist, so tags left behind by a topic or connector deleted outside AxonOps are not counted. An object recreated under the same name picks up the earlier tags, including any owner, whether or not they still apply to the new object.

The panel titled Topic Classification in AxonOps. It shows the number of topics in each of the five classifications, and each count as a share of all topics in the cluster, Kafka-internal topics included. The Unclassified share is the proportion of topics to which the classification policy has not yet been applied.

This proportion qualifies the regulated-object counts below. Those counts are derived from the objects already classified as regulated, so a cluster on which nothing has been classified yet reports zero regulated objects without an owner while carrying regulated data that no policy has yet identified. A zero in the regulated check is complete only when the unclassified count is also low.

The two figures use different denominators. The catalogue shares are taken over all topics, Kafka-internal topics included; the regulated-owner check below excludes internal topics. If the topic metadata lookup fails, every topic is counted as Unclassified and none appears as regulated, with no indication on the page.

The topics classified as PII, PCI, or Financial that have no owner recorded, listed with their classification. Kafka-internal topics are excluded from this check because the policy governs user topics only. The headline figure on the Compliance Overview Regulated Topics Without Owner tile is this count.

Selecting the tile opens a table of the topics, 10 rows to a page. The server returns at most the first 100 topic names in alphabetical order; where the count is larger, the table reports “Showing first 100 of” the total, and the remaining topics are not listed. Selecting a topic opens that topic’s Metadata tab, where the owner is set.

AxonOps blocks saving a regulated topic without an owner in two places: the create-topic form and the topic’s Metadata tab. A non-zero count therefore identifies topics that reached that state by another route:

  • topics classified or edited through the Metadata Tags page, whose free-form editor does not enforce an owner and is the route by which an existing owner can be removed;
  • topics whose metadata was written through the AxonOps API or by automation, which apply no owner check;
  • topics created outside AxonOps, through kafka-topics.sh, the Admin API, or automatic topic creation, and classified afterwards through one of the routes above.

The panel titled Connector Classification in AxonOps. It shows the number of Connect connectors in each of the five classifications, and each count as a share of all connectors reported by the cluster’s Connect clusters. A connector inherits no classification from the topics it reads or writes, so its classification must be recorded against the connector itself. A connector moves data across a trust boundary into or out of the cluster, so an unclassified connector can carry regulated data out of the cluster without an owner check.

The connector census is complete only when every Connect cluster answers. If the connector list for a Connect cluster cannot be fetched, AxonOps skips that cluster; the page shows the remaining connectors with no indication that a Connect cluster is missing, so both connector panels undercount. Likewise, if the connector metadata lookup fails, every connector is counted as Unclassified and none appears as regulated.

Both failures are recorded only in the warnings array of the compliance summary returned by the AxonOps API at GET /api/v1/<org>/kafka/<cluster>/kafka/compliance/overview-summary, as entries beginning connect[<Connect cluster name>]: and connectorMetadata:. The page does not display these warnings. Before the connector figures are attached to an audit, the summary should be requested by a user with the ReadOnly or Admin role and checked for these entries. If any are present, the request should be repeated after the Connect cluster or metadata store recovers, and the connector figures used only from a response without them.

The connectors classified as PII, PCI, or Financial that have no owner recorded, listed with their classification. Selecting the tile opens a table of the connectors, 10 rows to a page, limited to the first 100 connector names in alphabetical order; where the count is larger, the table reports “Showing first 100 of” the total. Connector rows are not selectable.

The create-connector form blocks creating a regulated connector without an owner. The classification and owner fields appear on that form only; an existing connector’s tags are edited afterwards on the connector’s Metadata tab or the Metadata Tags page, both free-form editors that accept any value and enforce no owner. A non-zero count therefore identifies connectors classified or edited through those editors, including any whose owner was removed there, connectors whose metadata was written through the AxonOps API, and connectors created outside AxonOps through the Connect REST API and classified afterwards.

ObjectWhereClassification inputOwner required for regulated classes
TopicCreate-topic formSelection from PII, PCI, Financial, Public✅
TopicTopic Metadata tabSelection from PII, PCI, Financial, Public✅
ConnectorCreate-connector formSelection from PII, PCI, Financial, Public✅
ConnectorConnector Metadata tabFree text❌
Topic or connectorMetadata Tags pageFree text❌

Legend: ✅ Saving is blocked until an owner is entered | ❌ Not enforced

See Kafka Metadata Tags for the tag model. For the broader posture these signals contribute to, see the Kafka Compliance Overview.

The signals on this page support the following ISO/IEC 27002:2022 controls: 5.9 Inventory of information and other associated assets, 5.10 Acceptable use of information, 5.12 Classification of information, 5.13 Labelling of information, and 5.34 Privacy and protection of PII.