Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> command line tools

Copy link to this message
Re: command line tools
Personally I don't mind the current approach as it is discoverable and
works with tab completion.

I wouldn't be opposed to replacing kafka-run-class.sh with a generic kafka
script that handles the java and logging options and maintaining a human
friendly mapping for some of the class names so that e.g.
  ./kafka topics --list
  ./kafka console-producer --broker localhost:9092
would work as a short cut for some fully qualified name:
  ./kafka kafka.producer.ConsoleProducer
would print a list of known commands. We would probably need a way to
customize memory settings for each command as we do now, though. We would
need some way to make this typo resistent (e.g. if you type a command wrong
you should get a reasonable error and not some big class not found stack


On Tue, Mar 4, 2014 at 7:45 PM, Joe Stein <[EMAIL PROTECTED]> wrote: