kplay lets you inspect messages in a Kafka topic in a simple and deliberate
manner. Using it, you can pull one or more records on demand, peruse through
them in a list, and, if needed, persist them to your local filesystem.
Install
homebrew:
brew install dhth/tap/kplay
go:
go install github.com/dhth/kplay@latest
⚡️ Usage
Consuming JSON messages
As a binary, kplay only supports consuming JSON messages.
Change the generated struct reference in ./ui/model/utils.go.
Compile, and run.
Authentication
By default, kplay operates under the assumption that brokers do not
authenticate requests. Besides this, it also supports AWS IAM
authentication (turned on via -auth='msk_iam_auth').
Acknowledgements
kplay is built using the awesome TUI framework bubbletea.