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

The kafka-consumer-perf-test.sh script help information print useless parameters.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.2.1
    • 1.0.0
    • tools
    • Linux

    Description

      Run kafka-consumer-perf-test.sh --help to show help information, but found 3 parameters useless :
      --batch-size and --batch-size --messages
      That is producer of parameters.

      bin]# ./kafka-consumer-perf-test.sh --help
      Missing required argument "[topic]"
      Option Description
      ------ -----------
      --batch-size <Integer: size> Number of messages to write in a
      single batch. (default: 200)
      --compression-codec <Integer: If set, messages are sent compressed
      supported codec: NoCompressionCodec (default: 0)
      as 0, GZIPCompressionCodec as 1,
      SnappyCompressionCodec as 2,
      LZ4CompressionCodec as 3>
      --date-format <date format> The date format to use for formatting
      the time field. See java.text.
      SimpleDateFormat for options.
      (default: yyyy-MM-dd HH:mm:ss:SSS)
      --fetch-size <Integer: size> The amount of data to fetch in a
      single request. (default: 1048576)
      --messages <Long: count> The number of messages to send or
      consume (default:
      9223372036854775807)

      Attachments

        Issue Links

          Activity

            People

              huxi_2b huxihx
              wangbo23 Bo Wang
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified