Command Line Interface for Strimzi Kafka Operator
Project description
Strimzi Kafka CLI
Strimzi Kafka CLI is a CLI that helps traditional Apache Kafka users -mostly administrators- to easily adapt Strimzi, a Kubernetes operator for Apache Kafka.
Intention here is to ramp up Strimzi usage by creating a similar CLI experience with traditional Apache Kafka binaries.
kfk command stands for the usual kafka-* prefix of the Apache Kafka runnable files which are located in bin directory. There are options provided like topics, console-consumer, etc. which also mostly stand for the rest of the runnable file names like kafka-topic.sh.
However, because of the nature of Strimzi and its capabilities, there are also unusual options like clusters which is used for cluster configuration or users which is used for user management and configuration.
Following is the high-level output of the Strimzi Kafka CLI:
Usage: kfk [OPTIONS] COMMAND [ARGS]...
Strimzi Kafka CLI
Options:
--help Show this message and exit.
Commands:
acls This tool helps to manage ACLs on Kafka.
clusters The kafka cluster(s) to be created, altered or...
configs Add/Remove entity config for a topic, client, user or...
console-consumer The console consumer is a tool that reads data from...
console-producer The console producer is a tool that reads data from...
operator Install/Uninstall Strimzi Kafka Operator
topics The kafka topic(s) to be created, altered or described.
users The kafka user(s) to be created, altered or described.
version Prints the version of Strimzi Kafka CLI
Please take a look at the relevant article Strimzi Kafka CLI: Managing Strimzi in a Kafka Native Way for more details.
Installation
Strimzi Kafka CLI can be installed via pip (python package installer).
sudo pip install strimzi-kafka-cli
Project requires: Python >=3.6
Examples
Dependencies
Python Dependencies
Please see requirements.txt file.
External Dependencies
- kubectl: kfk will automatically download kubectl binary which is configurable to use which kubectl version to use. (Pls see issue-19)
- Strimzi binaries: kfk will download it automatically. The yaml templates are used for create actions. This is configurable to use which binaries path to use. (Pls see issue-19)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for strimzi-kafka-cli-0.1.0a41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4ecc9c45e3278d1fd7e6c56445f095155c0c6919dfc1c387c3339b1a0a4c8c |
|
MD5 | 6613ddf4d41629230a6c52d69bbc1dcb |
|
BLAKE2b-256 | c1b2681fb6f2debc047235ab3c809c6d07859a5d82fcb61c88094da402cf7a58 |
Hashes for strimzi_kafka_cli-0.1.0a41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bad121c5bc80326bd7f1da9e4ad896574e96ecec78026ea25e4646f1217decb |
|
MD5 | 868c99512c46ea3562e462629f533066 |
|
BLAKE2b-256 | 473930f165b4370b0453e865ac2beafac45213189b100b5590f5493e55b19c41 |