You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Viliam Durina (JIRA)" <ji...@apache.org> on 2017/09/12 10:37:02 UTC

[jira] [Created] (KAFKA-5874) Incorrect command line handling

Viliam Durina created KAFKA-5874:
------------------------------------

             Summary: Incorrect command line handling
                 Key: KAFKA-5874
                 URL: https://issues.apache.org/jira/browse/KAFKA-5874
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 0.11.0.0, 0.10.2.0
         Environment: Probably unrelated, but Windows 10 in this case
            Reporter: Viliam Durina
            Priority: Minor


Extra parameters on command line are silently ignored. This leads to confusion. For example, I did this command:

`kafka-topics.bat --alter --topic my_topic partitions 3 --zookeeper localhost`

Seemingly innocuous command took about 3 seconds and output nothing. It took me a while to realize I missed "--" before "partitions", after which I got a confirmation on output.

Erroneous command lines should produce error output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)