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

Ishita Mandhan updated KAFKA-4220:
----------------------------------
    Description: 
When the argument provided to a command line statement is not of the right 
type, a stack trace is returned. This can be replaced by a cleaner error 
message that is earlier to read & understand for the user.

For example-
bin/kafka-console-consumer.sh --new-consumer --bootstrap-server localhost:9092 
--topic foo --timeout-ms abc
'abc' is an incorrect type for the --timeout-ms parameter, which expects a 
number.

> Clean up & provide better error message when incorrect argument types are 
> provided in the command line client
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4220
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4220
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ishita Mandhan
>            Assignee: Ishita Mandhan
>            Priority: Minor
>
> When the argument provided to a command line statement is not of the right 
> type, a stack trace is returned. This can be replaced by a cleaner error 
> message that is earlier to read & understand for the user.
> For example-
> bin/kafka-console-consumer.sh --new-consumer --bootstrap-server 
> localhost:9092 --topic foo --timeout-ms abc
> 'abc' is an incorrect type for the --timeout-ms parameter, which expects a 
> number.



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

Reply via email to