[
https://issues.apache.org/jira/browse/KAFKA-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836503#comment-17836503
]
Walter Hernandez commented on KAFKA-2499:
-----------------------------------------
This indeed duplicates the referenced earlier ticket, where there is a patch
available.
However, this patch needs a rebase (goes back to v2.1.0).
> 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)