lamberken commented on pull request #10469: URL: https://github.com/apache/kafka/pull/10469#issuecomment-813000740
hi @dengziming, I'm not familiar with this jmh benchmark tool, I can show you the performance metrics, use following test script. ``` cd kafka_2.12-2.7.0 ./bin/kafka-producer-perf-test.sh \ --topic demo_p30 \ --num-records 5000000 \ --record-size 512 \ --throughput 2000000 \ --print-metrics \ --producer-props \ bootstrap.servers=kafka-001:9092 \ batch.size=512000 \ linger.ms=100 \ buffer.memory=128000000 \ compression.type=zstd ``` ### Before patch, the compression-rate is 0.005  ### After patch, the compression-rate is 0.611 which is the real rate  -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org