Skip to main content

kafka-viewer

kafka-viewer is a lightweight local Streamlit UI for inspecting messages in an unsecured Kafka cluster. Kafka connection details come from a local properties file, and the viewer does not commit consumer offsets.

Installation

pip install kafka-viewer

Configuration

Create a local properties file named kafka-viewer.properties:

kafka.bootstrap.servers=localhost:9092

The configuration remains local to your machine.

Usage

The --config option is required:

kafka-viewer-unsecured --config /path/to/kafka-viewer.properties

Windows:

kafka-viewer-unsecured --config C:\path\to\kafka-viewer.properties

The UI lets you check Kafka connection status, discover and select topics, enter or generate a temporary consumer group ID, and load:

  • The latest N messages.
  • Messages from the beginning.
  • Messages from a date/time.
  • Messages within a date/time range.

Loaded messages show the partition, offset, timestamp, key, and message value. Messages can be expanded to view the complete message value, including formatted JSON when applicable.

V1 limitations

V1 supports unsecured Kafka only. It does not support:

  • Kafka authentication or security configuration.
  • Avro, Schema Registry, or Protobuf.
  • Publishing messages.
  • Topic or consumer-group administration.
  • Multiple Kafka clusters.

Development

python -m pytest
python -m build

Release files for kafka-viewer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kafka-viewer 0.1.0
File Size Uploaded
kafka_viewer-0.1.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kafka-viewer 0.1.0
File Interpreter ABI Platform
kafka_viewer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / kafka_viewer-0.1.0.tar.gz

Download URL kafka_viewer-0.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dff68ae83d1f595fc839a8793f3ea11d06aa04ac000df79ff744607d02cc9aaf
BLAKE2b-256 checksum
How to use checksums
847603a0aac5d48d8c28b0a127d4e17dc7df27e5f5b7fc29eed5badb1a2cfc82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / kafka_viewer-0.1.0-py3-none-any.whl

Download URL kafka_viewer-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79946027f9a334297a764e6e434458137bcaa7a7bb01f7cee55ee787ea44154e
BLAKE2b-256 checksum
How to use checksums
d3fa18c1dae2352244e509bfbd07f9e8ee9ad36f718c991cf90ad4c0b9b6ee48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page