You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ishita Mandhan (JIRA)" <ji...@apache.org> on 2017/01/27 22:49:24 UTC
[jira] [Assigned] (KAFKA-4220) Clean up & provide better error
message when incorrect argument types are provided in the command line
client
[ https://issues.apache.org/jira/browse/KAFKA-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ishita Mandhan reassigned KAFKA-4220:
-------------------------------------
Assignee: Vahid Hashemian (was: Ishita Mandhan)
> 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: Vahid Hashemian
> 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)