[ https://issues.apache.org/jira/browse/KAFKA-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836506#comment-17836506 ]
Walter Hernandez commented on KAFKA-2499: ----------------------------------------- This is indeed duplicated by the referenced earlier ticket, where there is a patch available; however, the patch needs a rebase (goes back to v 1.0.0 ). In addition, the changes broke some system tests that were not resolved. With the referenced ticket not having any activity since 2018 and already has an associated PR, I would like to take on this effort for the latest version. > kafka-producer-perf-test should use something more realistic than empty byte > arrays > ----------------------------------------------------------------------------------- > > Key: KAFKA-2499 > URL: https://issues.apache.org/jira/browse/KAFKA-2499 > Project: Kafka > Issue Type: Bug > Reporter: Ben Stopford > Priority: Major > Labels: newbie > > ProducerPerformance.scala (There are two of these, one used by the shell > script and one used by the system tests. Both exhibit this problem) > creates messags from empty byte arrays. > This is likely to provide unrealistically fast compression and hence > unrealistically fast results. > Suggest randomised bytes or more realistic sample messages are used. > Thanks to Prabhjot Bharaj for reporting this. -- This message was sent by Atlassian Jira (v8.20.10#820010)