Scenario
Kafka consumption dialing test scenarios include the following:
l Performance test: You can test the performance and throughput of Kafka consumers by simulating a large number of consumers and sending high-throughput messages. This can help evaluate the performance of a Kafka cluster and determine if you need to optimize or scale its performance.
l Availability test: You can test the availability and fault tolerance of a Kafka cluster by simulating consumer faults or network disconnections. This can help determine if Kafka is able to handle fault conditions correctly and maintain high availability.
l Rebalancing test: When a consumer is added or removed from a Kafka cluster, a rebalancing operation is triggered. By simulating the entry or exit of consumers and observing the process and impact of rebalancing, the performance of Kafka clusters during rebalancing can be tested.
l Latency test: You can test the latency of Kafka consumers by sending a time-stamped message and measuring the time it takes for a message from being sent to being consumed. This can help evaluate the latency performance of the Kafka cluster and determine if it meets the needs of the application.
Procedure
(1) Log in to the management console.
(2) Go to the Kafka console.
(3) In the operation column of the instance list page, click Manage in the target instance row.
(4) Click Consumer Group Management, and then click Topic Subscription.
(5) Click Consumption Dialing Test and a message of successful consumption will pop up.