[ https://issues.apache.org/jira/browse/KAFKA-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112108#comment-16112108 ]
ASF GitHub Bot commented on KAFKA-2360: --------------------------------------- GitHub user huxihx opened a pull request: https://github.com/apache/kafka/pull/3613 KAFKA-2360: Extract producer-specific configs out of the common PerfConfig Separate `batch.size`, `message-size` and `compression-code` from PerfConfig to a newly-created ProducerPerfConfig in order to hide them in ConsumerPerf tool. You can merge this pull request into a Git repository by running: $ git pull https://github.com/huxihx/kafka KAFKA-2360 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3613.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3613 ---- commit c33b5d21cce8c48c95e6ea94833ceb69c74cd7e2 Author: huxihx <huxi...@hotmail.com> Date: 2017-08-03T03:10:41Z KAFKA-2360: Separate `batch.size`, `message-size` and `compression-code` from PerfConfig to a newly-created ProducerPerfConfig in order to hide them in ConsumerPerf tool. ---- > The kafka-consumer-perf-test.sh script help information print useless > parameters. > --------------------------------------------------------------------------------- > > Key: KAFKA-2360 > URL: https://issues.apache.org/jira/browse/KAFKA-2360 > Project: Kafka > Issue Type: Bug > Components: tools > Affects Versions: 0.8.2.1 > Environment: Linux > Reporter: Bo Wang > Assignee: jin xing > Priority: Minor > Labels: newbie > Original Estimate: 24h > Remaining Estimate: 24h > > 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) -- This message was sent by Atlassian JIRA (v6.4.14#64029)