This projects aims at developing Kafka completion scripts. The scripts may be contributed to another project when stable enough.
For topic completion, you must:
- Have kcat in your ZSH PATH
$HOME/.config/kcat.conf
configured to connect to your Apache Kafka cluster
To start using the Kafka autocompletion just download the repository locally and source kafka.plugin.zsh
- kafka-topics
- kafka-acls
- kafka-configs
- kafka-console-producer
- kafka-console-consumer
- kafka-consumer-perf-test
- kafka-producer-perf-test
- kafka-avro-console-consumer
- kafka-avro-console-producer
- kafka-broker-api-versions
- kafka-consumer-groups
- kafka-delegation-tokens
- kafka-dump-log
- kafka-log-dirs
- kafka-verifiable-consumer
- kafka-verifiable-producer
- kafka-streams-application-reset
- kafka-mirror-maker
- kafka-delete-records
- replicator
- The source of information used for the completion is gathered from the usage of the CLI tools.
- This script relies on Apache Kafka Confluent distribution (either Open Source or Enterprise).
- To avoid reloading and parsing all the information at the beginning of each session, a script
kafka.plugin.zsh.generator
is generating thekafka.plugin.zsh
auto-completion file with hardcoded information.