Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2499

kafka-producer-perf-test should use something more realistic than empty byte arrays

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              eribeiro Edward Ribeiro
              Reporter:
              benstopford Ben Stopford
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: