Confluent Cloud Kafka Server Performance Test
The Kafka cluster is the heart of a Confluent Cloud deployment. Producers and consumers depend on its availability, and its performance depends on the traffic it handles, the load on its brokers and the capacity that has been provisioned for it. Problems such as saturated capacity, growing consumer lag, excessive connections or consumer group re-balancing issues become noticeable at the Kafka cluster level.
Using this test, the administrators can figure out the status of each Kafka cluster and identify the clusters that had failed. This test also helps the administrators to identify the clusters that are busy sending/receiving network data, response data and records.
Target of the test : Confluent Cloud Kafka
Agent deploying the test : A remote agent
Outputs of the test : One set of results for each Kafka cluster in the target Confluent Cloud Kafka .
| 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. |
|
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency. |
|
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
|
Measurement |
Description |
Measurement Unit |
Interpretation |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Cluster status |
Indicates the status of each cluster. |
|
The values reported by this measure and its numeric equivalents are mentioned in the table below:
Note: By default, this measure reports the Measure Values listed in the table above to indicate the status of each cluster. The graph of this measure however, is represented using the numeric equivalents only. Detailed diagnosis for this measure reveals further details of each cluster. |
||||||||
|
Received data |
Indicates the volume of data received by this cluster from producers during the last measurement period. |
MB |
This measure denotes the inbound data volume. It is a key input for capacity planning and is directly tied to billing. |
||||||||
|
Received data rate |
Indicates the rate at which this cluster received data from producers. |
MB/sec |
A sudden surge can signal a runaway producer, while a sudden drop can mean producers are failing or disconnected. |
||||||||
|
Sent data |
Indicates the volume of data sent by this cluster to consumers during the last measurement period. |
MB |
This measure represents the volume of data transmitted out of the cluster (egress). A significantly higher value than the received data may indicate a large number of consumers repeatedly reading the same data. |
||||||||
|
Sent data rate |
Indicates the rate at which this cluster sent data to consumers. |
MB/sec |
|
||||||||
|
Request data |
Indicates the volume of request data received by this cluster from clients during the last measurement period. |
MB |
|
||||||||
|
Request data rate |
Indicates the rate at which this cluster received request data from clients. |
MB/sec |
|
||||||||
|
Response data |
Indicates the volume of response data returned by this cluster to clients during the last measurement period. |
MB |
|
||||||||
|
Response data rate |
Indicates the rate at which this cluster returned response data to clients. |
MB/sec |
A sustained high rate combined with high cluster load suggests the cluster is being pushed by read traffic. |
||||||||
|
Received records |
Indicates the number of records received by this cluster from producers during the last measurement period. |
Number |
|
||||||||
|
Received record rate |
Indicates the rate at which this cluster received records. |
Records/sec |
|
||||||||
|
Sent records |
Indicates the number of records sent by this cluster to consumers during the last measurement period. |
Number |
If the Sent records measure stays far below Received records measure for a long time, then consumers are falling behind as administrators need to check the Consumer lag offsets measure. |
||||||||
|
Sent record rate |
Indicates the rate at which this cluster sent records during the last measurement period. |
Records/sec |
|
||||||||
|
Retained data |
Indicates the total volume of data retained (stored) in this cluster. |
MB |
|
||||||||
|
Retained data rate |
Indicates the rate at which the volume of retained data in this cluster is changing. |
MB/sec |
A persistently high positive rate means storage use is climbing steadily, so capacity should be planned or retention should be tightened. |
||||||||
|
Active connections |
Indicates the number of client connections currently open to this cluster. |
Number |
Every cluster type has connection limits. A value approaching the limit puts new clients at risk of being refused. A sudden jump can indicate a client with a connection leak or a misconfigured application. |
||||||||
|
Metadata connections |
Indicates the number of connections to this cluster that are used for metadata requests. |
Number |
A high value can indicate clients frequently refreshing metadata, often because of misconfiguration or unstable clients. |
||||||||
|
Successful authentication |
Indicates the number of successful authentications to this cluster during the last measurement period. |
Number |
A very high count can suggest clients reconnecting repeatedly. A drop to zero while clients are expected to be active can point to authentication or API key problems. |
||||||||
|
Requests |
Indicates the number of requests received by this cluster during the last measurement period. |
Number |
|
||||||||
|
Request rate |
Indicates the rate at which this cluster received requests. |
Requests/sec |
A sharp increase particularly with a rising Cluster load percent, may indicate a chatty or misbehaving client. |
||||||||
|
Partitions |
Indicates the total number of partitions in this cluster. |
Number |
Every cluster type has a partition limit. Approaching it prevents the creation of new topics or partitions. Also, a very high partition count increases load and the time taken by rebalances. |
||||||||
|
Partition rate |
Indicates the rate at which the number of partitions in this cluster is changing. |
Number/sec |
A non-zero rate means partitions are being added or removed. Unexpected changes can point to automated topic creation, so administrators need to verify that they are intentional. |
||||||||
|
Consumer lag offsets |
Indicates the total number of records that consumers of this cluster are lagging behind the latest produced records. |
Number |
A low, stable value is healthy. A steadily increasing value means consumers cannot keep up, so check consumer application health and scale consumers. |
||||||||
|
Cluster load percent |
Indicates the current load of this cluster as a percentage of its provisioned capacity. |
Percent |
This measure value applies to dedicated clusters. A value that stays consistently high leaves little headroom for bursts and suggests that more capacity should be provisioned. Values that stay very low suggest over-provisioning. |
||||||||
|
Cluster load percent - average |
Indicates the average cluster load during the last measurement period. |
Percent |
|
||||||||
|
Cluster load percent - maximum |
Indicates the highest cluster load reached during the last measurement period. |
Percent |
A maximum close to 100% indicates that the cluster hit its capacity limit and clients have been throttled, even if the average looks healthy. |
||||||||
|
Dedicated CKU |
Indicates the number of Confluent Units for Kafka (CKUs) provisioned for this dedicated cluster. |
Number |
CKUs determine the capacity, and the cost, of a dedicated cluster. |
||||||||
|
Max pending rebalance time |
Indicates the longest time for which a consumer group rebalance has been pending in this cluster. |
Seconds |
A large or growing measure value means consumer groups are stuck rebalancing, and their consumers are not processing records. |
||||||||
|
REST produce request data |
Indicates the volume of request data received by this cluster through the Confluent REST Produce API during the last measurement period. |
MB |
This measure shows how much of the inbound traffic arrives over REST rather than through native Kafka producers. REST produce is less efficient than native clients, so a steady rise may indicate that high-volume applications should move to native producers. |
||||||||
|
REST produce request data rate |
Indicates the rate at which this cluster received produce request data through the REST Produce API. |
MB/sec |
A sudden surge can signal a runaway REST client, while a sudden drop can mean REST producers are failing or disconnected. Compare this measure with the Received data rate measure to see the share of REST traffic. |
||||||||
|
Deprecated request |
Indicates the number of requests received by this cluster during the last measurement period that used deprecated Kafka protocol request types or versions. |
Number |
Ideally, this measure value should be 0. A non-zero value means some clients are using outdated client libraries, which Confluent Cloud may stop supporting. |
||||||||
|
Elastic CKU |
Indicates the number of Elastic Confluent Units for Kafka (eCKUs) currently in use by this cluster. |
Number |
Elastic CKUs determine the capacity, and the cost, of clusters that scale elastically. The value rises and falls with workload. A value that stays at the cluster's maximum while Cluster load percent is high suggests the cluster has reached its scaling limit. |
||||||||
|
Producer latency |
Indicates the time taken by this cluster to process produce requests from producers during the last measurement period. |
Milliseconds |
A rise in this value means producers wait longer for their writes to be acknowledged, and applications may slow down or time out. |
||||||||
|
Hot partition ingress |
Indicates the rate at which the hottest partition of this cluster 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 cluster. 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 cluster 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 cluster. A high value means one partition is serving most of the outbound traffic, which can slow down consumers. |
||||||||
|
Cluster link |
Indicates the number of cluster links defined on this cluster. |
Number |
Cluster links replicate data between Kafka clusters for disaster recovery, migration or data sharing. An unexpected change in this value means a link was created or deleted. |
||||||||
|
Cluster link task |
Indicates the number of tasks currently running for the cluster links on this cluster. |
Number |
Each cluster link runs tasks that perform the replication work. An unexpected fall in this value means part of the replication is not being performed. |
||||||||
|
Cluster link source response data |
Indicates the volume of response data returned by the source cluster to cluster links during the last measurement period. |
MB |
This measure shows how much data is being pulled from this cluster when it acts as the source of a link. It is a key input for estimating cross-cluster data transfer cost. A value near zero while producers are active may indicate a stalled link. |
||||||||
|
Cluster link source response data rate |
Indicates the rate at which the source cluster returned response data to cluster links. |
MB/sec |
A sudden surge can indicate a link catching up after an interruption. A sudden drop to zero indicates that replication has stopped or been paused. |
||||||||
|
Cluster link destination response data |
Indicates the volume of response data returned by the destination cluster to cluster links during the last measurement period. |
MB |
|
||||||||
|
Cluster link destination response data rate |
Indicates the rate at which the destination cluster returned response data to cluster links. |
MB/sec |
|
||||||||
|
Cluster link mirror topic data |
Indicates the volume of data replicated into mirror topics of this cluster through cluster links during the last measurement period. |
MB |
This measure reflects the replication workload of the cluster. A sustained value of zero, while the source topics are receiving data, means the mirror topics are not being updated. |
||||||||
|
Cluster link mirror topic data rate |
Indicates the rate at which data was replicated into mirror topics of this cluster. |
MB/sec |
Compare this measure with the Received data rate measure on the source cluster. A persistent gap means the mirror is falling behind. |
||||||||
|
Cluster link mirror topic |
Indicates the number of mirror topics in this cluster. |
Number |
A mirror topic is a read-only copy of a source topic. An unexpected change in this measure value means a mirror topic was created, promoted or deleted. |
||||||||
|
Cluster link mirror topic offset lag |
Indicates the total number of records by which the mirror topics of this cluster are lagging behind their source topics. |
Number |
A low, stable value is healthy. A value that keeps growing means replication cannot keep up, and a failover at that moment would lose data. |
||||||||
|
Cluster link mirror transition error |
Indicates the number of mirror topics in this cluster that are in an error state while moving between mirror states, for example during promote or failover. |
Number |
Ideally, this measure value should be 0. A non-zero value means a mirror topic failed to complete a state transition and may not be writable or in sync. |
||||||||
|
Created ACLs |
Indicates the number of access control lists (ACLs) that have been created in this cluster. |
Number |
An unexpected increase in this measure value may indicate automated or unauthorized permission changes. A very large number of ACLs can also make permissions hard to manage. |