Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3376

have sensible defaults for the command-line tools to facilitate local development

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0.1
    • None
    • admin, packaging
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ceposta Christian Posta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: