kaf is a command-line utility written in Go for interacting with Apache Kafka clusters and managing event streaming operations. It provides a simplified interface for inspecting brokers, topics, partitions, replicas, and consumer groups. Users can produce and consume messages directly through terminal commands or standard input streams. The application supports message keys, custom headers, partition selection, and header-based filtering. Consumer group administration includes resetting offsets to specific positions or predefined boundaries. Multiple cluster configurations allow users to switch between different Kafka environments conveniently. Structured JSON output and shell autocompletion facilitate integration with scripts, troubleshooting procedures, and automated data streaming workflows.
Features
- Apache Kafka cluster inspection with broker, topic, partition, and replica information
- Message production and consumption through terminal commands and standard streams
- Configurable message keys, custom headers, partition selection, and header-based filtering
- Consumer group inspection and offset management across individual or multiple partitions
- Multiple cluster configurations with interactive environment selection
- Structured JSON output and shell autocompletion for automated Kafka workflows