You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2016/03/10 14:50:40 UTC
[jira] [Created] (KAFKA-3376) have sensible defaults for the
command-line tools to facilitate local development
Christian Posta created KAFKA-3376:
--------------------------------------
Summary: have sensible defaults for the command-line tools to facilitate local development
Key: KAFKA-3376
URL: https://issues.apache.org/jira/browse/KAFKA-3376
Project: Kafka
Issue Type: Improvement
Reporter: Christian Posta
for the command-line tools, it's great we can send in params to connect to brokers/zk clusters, etc.
would be great if some of those params would come with sensible defaults so we don't have to add them for each command we run. for example, for --zookeeper we could have it default to "localhost:2181" or default to checking an environment variable "KAFKA_TOOLS_ZOOKEEPER" or something.
or, even better, maybe we could do something like we had in apache activemq-apollo, where we had a command shell that implements all of these commands and can hold "context" information about what brokers and zk clusters exist https://github.com/christian-posta/activemq-apollo/blob/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala so we don't have 10+ shell scripts?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)