Confluent Cloud Kafka Server Topics Performance Test

A cluster-level view hides which topics are responsible for unusual traffic, storage growth or consumer lag. A single hot or forgotten topic can dominate a cluster's load and storage. This test reports the traffic, retention and lag of each topic in each cluster. It helps administrators to:

  • Identify the topics that are sending or receiving abnormal amounts of data or records.

  • Identify the topics with the highest data retention, and therefore the largest storage footprint.

  • Locate the topics whose consumers are falling behind.

Target of the test : Confluent Cloud Kafka

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each topic in the target Confluent Cloud Kafka .

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed.

Host

Specify the IP address of the target server that is being monitored.

Environment ID

This parameter represents the ID of the Confluent Cloud environment whose clusters, connectors and costs are to be monitored. The ID typically begins with env- and is displayed in the Confluent Cloud console, under the Environments page.

Specify the Environment ID that you had obtained from the Confluent Cloud console in the Environment ID text box. For more details on Environment ID refer to Pre-requisites for Monitoring Confluent Cloud Kafka topic.

Confluent API Key

This parameter represents the API key generated in Confluent Cloud for the eG agent to authenticate with.

Specify the API key that you had generated from Confluent Cloud console in the Confluent API Key text box. For more details on Confluent API Key refer to Pre-requisites for Monitoring Confluent Cloud Kafka topic.

Confirm Confluent API Key

Confirm the Confirm Confluent API Key by retyping it here.

Confluent API Secret

This parameter represents the secret that was generated along with the API key. Confluent Cloud displays the secret only once, at creation time, so store it securely.

Specify the Confluent API Secret that you had obtained from the Confluent Cloud console in the Confluent API Secret text box. For more details on Confluent API Secret refer to Pre-requisites for Monitoring Confluent Cloud Kafka topic.

Confirm Confluent API Secret

Confirm the Confluent API Secret by retyping it here.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Sent data

Indicates the volume of data sent from this topic to consumers during the last measurement period.

MB

Compare across topics to find the ones with the highest read traffic. A topic with heavy reads and high lag may need more consumers or partitions.

Sent data rate

Indicates the rate at which data was sent from this topic to consumers.

MB/sec

A sudden increase in this measure may indicate that a new consumer has started reading data or that an existing consumer is repeatedly reading data from the beginning of the topic.

Sent records

Indicates the number of records sent from this topic to consumers during the last measurement period.

Number

Use Sent records measure along with Received records measure to see whether consumers are keeping pace with producers.

Sent record rate

Indicates the rate at which records were sent from this topic to consumers.

Records/sec

 

Received records

Indicates the number of records received by this topic from producers during the last measurement period.

Number

A sudden jump or drop from this measure value indicates a change in producer behavior.

Received record rate

Indicates the rate at which this topic received records.

Records/sec

Topics with the highest rates are the main contributors to cluster load.

Retained data

Indicates the volume of data currently retained in this topic.

MB

The topics with this largest measure values are the main contributors to storage use and cost.

Retained data rate

Indicates the rate at which the volume of retained data in this topic is changing.

MB/sec

A persistently positive rate shows that the topic keeps growing.

Consumer lag offsets

Indicates the total number of records that consumers of this topic are lagging behind the latest produced records.

Number

A low, stable value of this measure is healthy. A value that keeps growing means consumers of this topic cannot keep up, so check the health and scaling of the consuming applications.

Received data

Indicates the volume of data received by this topic from producers during the last measurement period.

MB

This is the inbound data volume of the topic. Compare this measure across topics to find the biggest contributors to cluster ingress.

Received data rate

Indicates the rate at which this topic received data from producers.

MB/sec

A sudden surge can signal a runaway producer, while a sudden drop can mean producers of this topic are failing or disconnected.

Share group lag offsets

Indicates the total number of records that the share groups reading this topic have yet to process.

Number

A low, stable value is healthy. A value that keeps growing means the share group consumers cannot keep up.

Hot partition ingress

Indicates the rate at which the hottest partition of this topic receives data from producers.

MB/sec

Hot partition ingress denotes the partition receiving the highest inbound (produced) traffic.

A low value of this measure is good, as it means producer traffic is spread evenly across the partitions of the topic. A high value means one partition is handling most of the inbound traffic, which can cause higher producer latency and throttling.

Hot partition egress

Indicates the rate at which the hottest partition of this topic sends data to consumers.

MB/sec

Hot partition egress denotes the partition serving the highest outbound (consumed) traffic.

A low value of this measure is good, as it means read traffic is spread evenly across the partitions of the topic. A high value means one partition is serving most of the outbound traffic, which can slow down consumers.

Cluster link mirror topic data

Indicates the volume of data replicated into this mirror topic through a cluster link during the last measurement period.

MB

A mirror topic is a read-only copy of a topic from another Kafka cluster, kept in sync automatically through a cluster link.

A value of zero while the source topic is receiving data means the mirror is not being updated.

Cluster link mirror topic data rate

Indicates the rate at which data was replicated into this mirror topic.

MB/sec

Compare this measure with the Received data rate measure of the source topic. A persistent gap means the mirror is falling behind.

Cluster link mirror topic offset lag

Indicates the number of records by which this mirror topic is lagging behind its source topic.

Number

A low, stable value is healthy. A growing value means replication of this topic cannot keep up, which raises data loss exposure in the event of a failover.

Data added

Indicates the volume of data added to the Tableflow table of this topic during the last measurement period.

MB

Tableflow is a Confluent Cloud feature that automatically converts a Kafka topic’s data into a queryable table.

This measure shows how much topic data was materialized into the table. A value of zero while the topic is receiving data suggests that Tableflow has stalled or been paused.

Data added rate

Indicates the rate at which data was added to the Tableflow table of this topic.

MB/sec

Compare this measure with the Received data rate measure of the topic. A persistent gap means the table is falling behind the topic.

Data compacted

Indicates the volume of data compacted (small files merged into larger ones) in the Tableflow table of this topic during the last measurement period.

MB

Compaction improves query performance and reduces storage. A value of zero for a long time, while data keeps being added, means compaction is not keeping up and queries may slow down.

Data compacted rate

Indicates the rate at which data was compacted in the Tableflow table of this topic.

MB/sec

 

Data processed

Indicates the volume of data processed by Tableflow for this topic during the last measurement period.

MB

 

Data processed rate

Indicates the rate at which Tableflow processed data for this topic.

MB/sec

A sudden surge can indicate a burst in topic traffic or a backlog being cleared. A sudden drop to zero indicates that processing has stopped.

Data read

Indicates the volume of data read from this topic by Tableflow during the last measurement period.

MB

If this measure value stays far below Received datameasure, Tableflow is not keeping pace with the producers of the topic.

Data read rate

Indicates the rate at which Tableflow read data from this topic.

MB/sec

Compare this measure with the Received data rate measure. A persistent shortfall means the table is falling behind the topic.

Compaction duration

Indicates the time taken by compaction runs on the Tableflow table of this topic.

Milliseconds

Tableflow is a Confluent Cloud feature that automatically converts a Kafka topic’s data into a queryable table. A steadily growing value means compaction is slowing down, which can affect query performance.

Pending compactions

Indicates the number of compactions that are waiting to be run on the Tableflow table of this topic.

Number

A low value is normal. A value that keeps growing means compaction cannot keep up with incoming data, which can slow queries and increase storage use.

Delta data added

Indicates the volume of data added to the Delta Lake table of this topic during the last measurement period.

MB

 

Delta data added rate

Indicates the rate at which data was added to the Delta Lake table of this topic.

MB/sec

A sudden drop to zero while the topic is receiving data indicates that materialization into the Delta table has stalled.

Delta rows added

Indicates the number of rows added to the Delta Lake table of this topic during the last measurement period.

Number

 

Delta versions generated

Indicates the number of new versions (commits) generated for the Delta Lake table of this topic during the last measurement period.

Number

A very high value of this measure denotes many small commits, which can slow reads and increase compaction work.

Files compacted

Indicates the number of data files that were merged by compaction in the Tableflow table of this topic during the last measurement period.

Number

A high value shows that many small files are being created and merged. A value of zero for a long time, while data is being added, means compaction is not running.

Kafka topic offset

Indicates the latest offset of this topic that is available to Tableflow.

Number

Compare this measure with Table offset measure. The difference between the two is the number of records not yet materialized in the table. A value that does not move shows that the topic is not receiving data.

Table flow topics

Indicates the number of topics that have Tableflow enabled.

Number

Each Tableflow topic adds to the cost and workload of the cluster. An unexpected change means Tableflow was enabled or disabled on a topic.

Rows added

Indicates the number of rows added to the Tableflow table of this topic during the last measurement period.

Number

A value of zero while the topic receives records suggests that materialization has stalled.

Rows read

Indicates the number of rows read from the Tableflow table of this topic during the last measurement period.

Number

This measure shows how heavily the table is queried. A sudden surge may point to a new or inefficient query workload.

Rows skipped

Indicates the number of records of this topic that Tableflow skipped and did not write to the table during the last measurement period.

Number

Ideally, the value of this measure should be 0. A non-zero value means records are being rejected, typically because of malformed data or schema mismatches.

Snapshots generated

Indicates the number of new snapshots generated for the Tableflow table of this topic during the last measurement period.

Number

A very high value means many small commits, which can slow queries and increase maintenance work.

Table flow storage

Indicates the storage space used by the Tableflow table of this topic.

MB

This measure drives the storage cost of Tableflow. Steady growth means data is arriving faster than it is expired.

Table offset

Indicates the offset of this topic up to which data has been materialized in the Tableflow table.

Number

Compare this measure with Kafka topic offset measure. A gap that keeps growing means the table is falling behind the topic, so the table data is stale.