LinuxCommandLibrary

kplay

Inspect messages in a Kafka topic from the terminal

TLDR

Inspect a Kafka topic using a profile
$ kplay -p [profile_name]
copy
Pull a specific number of messages
$ kplay -p [profile_name] -n [count]
copy

SYNOPSIS

kplay [options]

DESCRIPTION

kplay (kafka-playground) lets you inspect messages in a Kafka topic in a simple and deliberate manner. It provides a TUI for fetching records on demand, browsing them in a list, and saving them locally or forwarding them to S3.
Messages can be decoded in JSON, protobuf, or raw formats. Profiles can be configured for various Kafka topics, each with its own broker, encoding, and authentication details.

PARAMETERS

-p, --profile NAME

Specify the Kafka profile to use.
-n, --count N
Number of messages to pull.

CAVEATS

Requires a running Kafka cluster and properly configured profiles. Authentication and encoding must be set up per-profile before use.

HISTORY

kplay was created by dhth and is written in Go. It was designed for simple, deliberate Kafka message inspection without the overhead of full-featured Kafka management tools.

SEE ALSO

kaskade(1), kafkactl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard