Home

Awesome

Kafka-prompt

An intertactive auto-complete kafka client using c-bata/go-prompt

demo

Prerequisite

This command-line tool requires kafka console client installed on the filesystem. (In PATH or using absolutely path to call client executable)

Installation

Build from source

git clone https://github.com/ysn2233/kafka-prompt.git
cd kafka-prompt
make

The execuatable binary is located as ./bin/kaprompt

Feature

Provide auto-comppletion for kafka console commands and their optional arguments.

Built-on existing kafka-client

The auto-completion of kafka client command is predefined so make sure those client executable(eg. kafka-topic, kafka-console-consumer) have alreadly in your PATH. Kafka-prompt also supports any command ends with ".sh".

Memorize servers

If you have run a command with "--bootstrap-server/--broker-list/--zookeeper", the prompt will cache these server connected information. Next command without those options can auto add them to connect.

Support-autocompletion-commands

Built-in commands