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.1

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.1
File Size Uploaded
kafka_viewer-0.1.1.tar.gz 8.5 kB Details

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / kafka_viewer-0.1.1.tar.gz

Download URL kafka_viewer-0.1.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
54b9cdc58cdf3c56a16965a970a27711333910964b25644f63b119e7eafe7361
BLAKE2b-256 checksum
How to use checksums
12803220d738cdecdede917d7dbd1ae6599a535140fa55a071adf8dd1e9604b0
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.1-py3-none-any.whl

Download URL kafka_viewer-0.1.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16de300a7a1089b9fa4656d8264acfef8d63a9ab5f20aed21393965d9e853cbd
BLAKE2b-256 checksum
How to use checksums
7303db01e773f9336aa09698b8d3c6d231d91dd15824c50344f3bd313d0c6ee6
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

This release

0.1.1 This release

2 release files

0.1.0

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