Skip to content

igponce/kafka-bash-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

kafka-bash-completion

Bash programmable completions for the Kafka commands.

How to use?

From bash, just type:

kafka-bash-completion> . ./kafka-bash.sh

Screencast: From bash, type tab twice to trigger autocompletion

Why?

Just because I am a bit tired of (mis)typing options in Kafka.

For some software we can just start typing the comand and press "tab" "tab" to get a reasonable list of completions; but not for Kafka... yet.

Kafka 1.0 supported shell scripts

  • connect-distributed.sh
  • connect-standalone.sh
  • kafka-acls.sh
  • kafka-broker-api-versions.sh
  • kafka-configs.sh
  • kafka-console-consumer.sh
  • kafka-console-producer.sh
  • kafka-consumer-groups.sh
  • kafka-consumer-perf-test.sh
  • kafka-delete-records.sh
  • kafka-log-dirs.sh
  • kafka-mirror-maker.sh
  • kafka-preferred-replica-election.sh
  • kafka-producer-perf-test.sh
  • kafka-reassign-partitions.sh
  • kafka-replay-log-producer.sh
  • kafka-replica-verification.sh
  • kafka-run-class.sh
  • kafka-server-start.sh
  • kafka-server-stop.sh
  • kafka-simple-consumer-shell.sh
  • kafka-streams-application-reset.sh
  • kafka-topics.sh
  • kafka-verifiable-consumer.sh
  • kafka-verifiable-producer.sh

No support for this:

  • trogdor.sh
  • zookeeper-security-migration.sh
  • zookeeper-server-start.sh
  • zookeeper-server-stop.sh
  • zookeeper-shell.sh

About

Bash programmable completions for the Kafka commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages