Confluent Cloud Kafka Connect Performance Test

Kafka Connect moves data between Kafka and external systems such as databases, object stores and SaaS applications, through connectors. A connector that has failed, degraded or stopped silently breaks that data pipeline, so downstream applications receive stale or incomplete data. Even a healthy connector can fall behind when its tasks fail, when the target system is slow to accept records, or when records are rejected and routed to a dead letter queue.

Using this test, the administrators can figure out the status of each connector and identify the connectors that had failed/degraded/stopped etc. This test also helps the administrators to identify the connectors with maximum failed tasks, that are busy sending/receiving network data, slow to process records etc.

Target of the test : Confluent Cloud Kafka

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each connector 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.

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:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Connector status

Indicates the status of each connector.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

State Numeric Value
Running 100
Provisioning 95
Restarting 90
Degraded 85
Paused 80
Stopped 75
Failed 70
Deleted 65
Unassigned 60
System error 55
User actionable error 50
None 45

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the status of each connector. The graph of this measure however, is represented using the numeric equivalents only.

Detailed diagnosis for this measure reveals further details of each connector, the topics that the connector accessed, the task details etc.

Total failed tasks

Indicates the number of tasks of this connector that are currently in a failed state.

Number

A connector divides its work among tasks. Ideally, this value should be 0. A non-zero value means part of the connector's workload is not being processed, even if the connector itself still appears to be running.

Sent data

Indicates the volume of data sent by this connector during the last measurement period.

MB

 

Sent data rate

Indicates the rate at which this connector sent data during the last measurement period.

MB/sec

A sudden fall in this rate, while the source is still producing data, indicates a stalled or throttled connector.

Received data

Indicates the volume of data received by this connector during the last measurement period.

MB

 

Received data rate

Indicates the rate at which this connector received data during the last measurement period.

MB/sec

Compare Received data rate measure with the Sent data rate measure. A persistent gap between the two suggests records are being held, filtered, dropped or queued inside the connector.

Received records

Indicates the number of records received by this connector during the last measurement period.

Number

This measure shows the workload of the connector in terms of records rather than bytes. Sudden spikes or drops against the connector's normal pattern merit investigation.

Received record rate

Indicates the rate at which this connector received records.

Records/sec

Use this measure to baseline the normal record throughput of the connector and to detect unusual surges or stalls.

Records lag maximum during last measurement period

Indicates the maximum lag between latest record in Kafka topic and record last processed by this connector during the last measurement period.

Number

A low, stable value means the connector is keeping up. A value that keeps growing means the connector is consuming more slowly than data is being produced.

Task batch size average

Indicates the average number of records in the batches processed by the tasks of this connector.

Number

Very small batches with high latency indicate inefficient processing, while very large batches can drive latency up.

Task batch size maximum during last measurement period

Indicates the largest batch of records processed by a task of this connector during the last measurement period.

Number

A maximum value that is far above the average shows bursty data (data traffic that occurs in short, sudden spikes rather than at a steady, continuous rate).

Sink put batch average latency

Indicates the average time the connector took to write a batch of records to its target system.

Milliseconds

A rise in this value usually points to a slow or overloaded target system, or to network problems between Confluent Cloud and the target. Compare Sink put batch average latency measure with the Records lag maximum during last measurement period measure to confirm its impact.

Sink put batch maximum latency

Indicates the maximum time the connector took to write a batch of records to its target system during the last measurement period.

Milliseconds

Occasional spikes can be tolerated. Frequent spikes, or a value approaching the connector's timeout, put the connector at risk of task failures and retries.

Dead letter queue records

Indicates the number of records this connector failed to process and routed to its dead letter queue during the last measurement period.

Number

Ideally, this value should be 0. A non-zero value means records are being rejected, typically because of malformed data, schema mismatches or transformation errors. Inspect the dead letter queue topic to find the cause, since these records will not reach their destination until they are fixed and reprocessed.

Dead letter queue record rate

Indicates the rate at which this connector routed records to its dead letter queue during the last measurement period.

Records/sec

A sustained non-zero rate suggests a systemic data or configuration issue rather than a one-off bad record.

Sent records

Indicates the number of records sent by this connector during the last measurement period.

Number

Compare Sent records measure with Received records measure. A persistent gap suggests that records are being filtered, dropped, held or sent to the dead letter queue. A sudden drop to zero while Received records measure is still non-zero indicates a stalled connector.

Sent record rate

Indicates the rate at which this connector sent records during the last measurement period.

Records/sec

A sustained fall in Sent record rate measure, while the Received record rate measure stays steady, denotes the connector is not able to deliver records at the pace they arrive.