kfcli
is a command-line interface (CLI) tool written in Rust. It provides utilities to monitor Kafka topics and consumers.
- Topic Monitor: Monitor Kafka topics, list all topics, get details of a topic, create, delete, and tail topics.
- Broker Monitor: Monitor Kafka brokers.
- Consumer Group Monitor: Monitor Kafka consumer groups.
- MVP
- Support JSON
- Tail Topics
- Inspect Topic/Groups
- Manage different Environments
- Support XML
- Unit tests
- Performance improvement
- Documentation
To install kfcli
using Cargo, you can use the following command:
cargo install kfcli
To install kfcli on macOS using Homebrew, you can use the following commands:
brew tap keaz/homebrew
brew install kfcli
Here are some examples of how to use kfcli:
kfcli config active <environment_name>
kfcli topic list
kfcli topics details <topic_name>
kfcli topics create <topic_name> --partitions <num_partitions> --replication-factor <replication_factor>
kfcli topics delete <topic_name>
kfcli topics tail <topic_name>
kfcli topics tail <topic_name> "<filter>"
Example:
kfcli topics tail another-topic "data.attributes.name=19"
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
For any questions or feedback, please contact [email protected].