xijiu commented on PR #20669: URL: https://github.com/apache/kafka/pull/20669#issuecomment-3385841674
@TaiJuWu I conducted a simple benchmark test. First, I launched a cluster consisting of 3 brokers, then created a topic with 12 partitions named topic12 using the following command: ``` sh kafka-topics.sh --bootstrap-server 10.255.225.107:9092 --create --topic topic12 --partitions 12 --replication-factor 2 ``` Next, I sent a sufficient amount of data to topic12—each message was 1MB, with a total size of approximately 100GB. After that, I performed consumer stress tests using the trunk branch and the 19735 branch respectively, using the command: ``` sh kafka-consumer-perf-test.sh --bootstrap-server 10.255.225.107:9092 --topic topic12 --command-property auto.offset.reset=earliest --num-records 1000000 --group groupXX ``` The aggregated consumer throughput results are as follows: <img width="1096" height="560" alt="image" src="https://github.com/user-attachments/assets/be6a45df-6f61-47f6-b30a-eede1ed42b64" /> The performance of the two is nearly identical. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
