[ 
https://issues.apache.org/jira/browse/KAFKA-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989142#comment-14989142
 ] 

ASF GitHub Bot commented on KAFKA-2470:
---------------------------------------

GitHub user miguno opened a pull request:

    https://github.com/apache/kafka/pull/418

    KAFKA-2470: Convert Windows bin scripts from CRLF to LF line encodings

    There are no functional changes to the modified scripts.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/miguno/kafka KAFKA-2740

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/418.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 #418
    
----
commit 777f4cbd11b19f8c91aed4b3c48b48e417288c30
Author: Michael G. Noll <mich...@confluent.io>
Date:   2015-11-04T08:47:14Z

    Convert Windows bin scripts from CRLF to LF line encodings

----


> kafka-producer-perf-test.sh can't configure all to request-num-acks
> -------------------------------------------------------------------
>
>                 Key: KAFKA-2470
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2470
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, tools
>    Affects Versions: 0.8.2.1
>         Environment: Linux
>            Reporter: Bo Wang
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> For New Producer API, kafka-producer-perf-test.sh can't configure all to 
> request-num-acks :
> bin]# ./kafka-producer-perf-test.sh --topic test --broker-list host:port 
> --messages 1000000 --message-size 200 --new-producer --sync --batch-size 1
>  --request-num-acks all
> Exception in thread "main" joptsimple.OptionArgumentConversionException: 
> Cannot convert argument 'all' of option ['request-num-acks'] to class 
> java.lang.Integer
>       at 
> joptsimple.ArgumentAcceptingOptionSpec.convert(ArgumentAcceptingOptionSpec.java:237)
>       at joptsimple.OptionSet.valuesOf(OptionSet.java:226)
>       at joptsimple.OptionSet.valueOf(OptionSet.java:170)
>       at 
> kafka.tools.ProducerPerformance$ProducerPerfConfig.<init>(ProducerPerformance.scala:146)
>       at kafka.tools.ProducerPerformance$.main(ProducerPerformance.scala:42)
>       at kafka.tools.ProducerPerformance.main(ProducerPerformance.scala)
> Caused by: joptsimple.internal.ReflectionException: 
> java.lang.NumberFormatException: For input string: "all"
>       at 
> joptsimple.internal.Reflection.reflectionException(Reflection.java:136)
>       at joptsimple.internal.Reflection.invoke(Reflection.java:123)
>       at 
> joptsimple.internal.MethodInvokingValueConverter.convert(MethodInvokingValueConverter.java:48)
>       at 
> joptsimple.ArgumentAcceptingOptionSpec.convert(ArgumentAcceptingOptionSpec.java:234)
>       ... 5 more



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

Reply via email to