Skip to content
项目

关于

kaskade 是一款 Kafka 文本用户界面,让你能直接在终端中轻松与主题交互并消费消息!

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

kaskade

CI status MIT License Sponsor on GitHub
PyPI version Homebrew version
Linux support macOS support

Kaskade is a terminal UI for Kafka with three modes. kaskade admin shows your topics, partitions, and consumer groups, lets you create, edit, and delete topics, and resets or deletes consumer groups. kaskade consumer reads records from a topic and decodes them as JSON, Avro, or Protobuf, with or without Schema Registry. kaskade producer composes a record and produces it, encoding it the same ways. Everything works from the keyboard.

Screenshots

Admin Consumer
Kaskade admin mode Kaskade consumer mode
Record Details Producer
Kaskade consumer Record Details with a Schema Registry value Kaskade producer mode

Features

Kafka administration

  • Browse topics, partitions, consumer groups, and group members
  • Inspect topic configuration, lag, replicas, and record counts
  • Create, edit, delete, and filter topics without leaving the TUI
  • Reset consumer group offsets after previewing them, and delete groups
  • Refresh topic metadata and metrics every 30 seconds by default, or on demand

Record consumption

  • Deserialize keys and values as bytes, primitives, JSON, Avro, or Protobuf, including Confluent Schema Registry and native Apicurio Registry v3
  • Resolve Registry Protobuf messages and referenced schemas without generated classes
  • Choose raw, Apicurio, or Confluent framing separately for keys and values when decoding with local schemas
  • Filter records by key, value, header, or partition
  • Start from the earliest offsets or explicit partition/offset selections
  • Keep consuming when a key, value, or header fails to decode, and show it as bytes next to the error
  • Show bytes as Base64, hex, byte arrays, or escaped bytes
  • Copy or export individual records as JSON

Record production

  • Compose a record's key, value, and ordered headers, keeping null and empty content apart
  • Serialize keys and values as bytes, primitives, JSON, Avro, or Protobuf, with local schema files or through Confluent Schema Registry or native Apicurio Registry v3
  • Validate JSON against a JSON Schema before producing it
  • Register schemas and their references when auto-registration is enabled
  • Paste a key or value copied from the consumer to produce the same bytes again
  • Load a draft from a JSON file
  • Confirm delivery with the partition, offset, and timestamp the broker acknowledged

Connections and configuration

  • Keep Kafka, Registry, and AWS settings in an INI file, or pass them on the command line
  • Raise operation timeouts for slow or distant clusters
  • Connect through TLS, SASL, Confluent Cloud, or Amazon MSK IAM authentication
  • Use Confluent Schema Registry, native Apicurio Registry, or Apicurio's Confluent-compatible API

Terminal experience

  • Navigate entirely by keyboard with arrow and Vim-style shortcuts
  • Customize themes and keybindings
  • Copy data through an OSC 52-compatible terminal

Quick start

Homebrew

brew install kaskade

pipx

pipx install kaskade

Connect to Kafka

Admin view:

kaskade admin -b my-kafka:9092

Consumer view:

kaskade consumer -b my-kafka:9092 -t my-topic

Producer view:

kaskade producer -b my-kafka:9092 -t my-topic

Kantrip

Working with several clusters? Kantrip saves each Kafka connection as a profile and runs Kaskade, kcat, and the Kafka CLIs against it, with its secrets in your operating system's credential store:

kantrip exec prod -- kaskade admin

See its repository for more.

Documentation

  • Usage: connecting, then the admin, consumer, and producer commands and settings.
  • Migration: upgrading between major versions.
  • Development: working on Kaskade itself.
  • GitHub Releases: release notes and downloads.

Questions

Ask in GitHub Discussions.

Security

Please report vulnerabilities privately, as described in the security policy.

Donations

If Kaskade saves you time, you can sponsor it on GitHub.

AI Assistance

Kaskade is developed with AI assistance. Every AI-assisted change is reviewed and tested before it's merged.

Acknowledgements

Sponsored by LittleHorse Built with Textual

探索相关项目

加载中…