Skip to content

Kafka-In-Action-Book/kafka_tools_completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Tools Completion

Overview

Command completion for Kafka tools and bin commands

How to Enable

  • Source the files for use or place these inside your shell profile like: ~/.bash_profile or ~/.bashrc:
source ./kafkaAdmin
source ./kafkaBin

Examples of Completion

  • Complete for Admin tools is by typing: kafka-run-class.sh [TAB][TAB]
  • Complete for bin tools by typing (using zookeeper-security-migration for an example): bin/zookeeper-security-migration.sh --[TAB][TAB]

Which Tools Have Auto-Complete

How to use this file in ZSH

autoload -U compinit && compinit
autoload -U bashcompinit && bashcompinit
source /path/bash_completion_script

About

Command completion for Kafka tools and bin commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages