You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bo Wang (JIRA)" <ji...@apache.org> on 2015/07/28 03:51:05 UTC

[jira] [Updated] (KAFKA-2360) The kafka-consumer-perf-test.sh script help information print useless parameters.

     [ https://issues.apache.org/jira/browse/KAFKA-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Wang updated KAFKA-2360:
---------------------------
    Description: 
Run kafka-consumer-perf-test.sh --help to show help information,  but found 3 parameters useless : 
--batch-size and --batch-size
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)   

  was:
Run kafka-consumer-perf-test.sh --help to show help information,  but found two parameters useless : 
--batch-size and --batch-size
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)   


> 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
>            Priority: Minor
>   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
> 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)   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)