Skip to content

StreamLens Studio v0.6.0 - pre-release

Choose a tag to compare

@getaxtools getaxtools released this 14 Sep 00:20
· 18 commits to main since this release
e753f91

StreamLens Studio v0.6.0 — pre-release

This release is about consumer groups. You can now see how far behind a group
is, and move it — per partition, to the start, to the end, or to a point in
time. Both were the largest reasons to keep a second Kafka tool open.

Also here: Protobuf messages decode, the audit log has a viewer at last, and
Kerberos is properly configurable rather than offered-and-hoped-for.

Still a pre-release, still Windows-only.


Getting started

  1. Download StreamLens.exe below.
  2. Run it. Windows may show a SmartScreen warning, since the build is signed
    with a self-signed certificate rather than a CA-issued one. Choose
    More info → Run anyway.
  3. Open File → Add Connection…, enter your bootstrap servers, and connect.

No installer and no .NET runtime needed. It's a single self-contained
executable.

Upgrading from v0.5.0? Just replace the old StreamLens.exe. Your
connections, settings, and per-topic preferences live in
%LocalAppData%\StreamLensStudio\ and carry over untouched.


What's new

Consumer group lag

Click a group under CONSUMERS and its detail dialog now shows, per
partition, the committed offset, the end of the log, and the distance between
them — plus the group's total lag in the header.

This is the number people keep a second tool open for. The app already knew
each partition's committed offset, which on its own tells you nothing: an
offset of 3,230 is either caught up or a week behind depending on a figure that
was never fetched.

A partition that has never been committed to reads —, not a number. Kafka
reports that state as offset -1001, and showing it raw — or subtracting it —
would invent a lag that was never real.

Moving a consumer group's offsets

Two ways, both in the same dialog:

Type a new offset directly into the Offset cell of any partition. End and
Lag update as you type, so you can see where the group will land before
committing anything. Values are clamped to that partition's own range — type
99999999 and it becomes the end of the log rather than failing at the broker.

Or move everything at once with ⏮ To start / To end ⏭, which send
every partition to its own start or end; those differ per partition, so one
number would be wrong for most of them.

Reset offsets… covers the other common case: send the whole topic to the
earliest retained message, to the end of the log, or to a timestamp — "replay
everything since 14:30" during an incident.

Applying commits only the partitions you changed. Everything else stays
exactly where it was.

A group with running consumers can't be moved. Kafka refuses it, so the app
refuses first and names the consumers to stop, rather than letting you fill in
a dialog and collect a broker error at the end.

Every move goes through the same typed-confirmation guardrail as deleting a
topic, and lands in the audit log. The previous offsets are not recoverable,
which is exactly why it's behind a confirmation.

Protobuf messages decode

String, JSON and Avro already worked. Protobuf now joins them, decoded against
the .proto your Schema Registry holds, using the same Confluent framing as
Avro.

Field names come from the schema rather than being numbered, enums read as
their names, maps and nested messages render as nested JSON, and byte fields
show as hex like everywhere else in the app. The result is real JSON, so the
JSONPath search in the detail pane works against it.

Partitioned across several messages in one .proto? The message index
Confluent writes into each payload picks the right one.

The audit log has a viewer

Tools → Audit Log…

Every destructive and write action has been recorded since v0.2.0 — topic
creates and deletes, offset resets and moves, messages produced, connections
deleted or imported — with no way to read any of it back. That made the
typed-confirmation guardrail auditable in principle only.

Filter by cluster, by action, or by free text across the action, resource and
details. Export what you're looking at as CSV.

Events outlive the connections they describe: a cluster you deleted last month
still shows its actions, labelled as deleted rather than vanishing along with
the profile.

Kerberos is configurable

GSSAPI has been in the mechanism list for several releases, but the connection
form had nowhere to enter a service name, principal or keytab — so it could
only ever work against a broker registered under the default name kafka, with
a ticket obtained outside the app.

Those fields now exist, and appear when you choose GSSAPI.

On Windows, Kerberos uses your logged-on account through the operating
system's own SSPI, which is how the underlying Kafka client works there. Keytab
files can't be used on Windows at all — the form says so rather than offering a
field that would silently do nothing.

The sidebar width is remembered

It was remembered for the session but reset on every launch. It now persists.


What's not in this release

  • Windows only. The app won't start on macOS or Linux.
  • No Kafka Connect, ksqlDB, or ACL management.
  • Kerberos is configurable but not verified end to end on Windows. The
    broker-side and Linux client paths are exercised against a real KDC; the
    Windows SSPI path needs a domain-joined machine and an Active Directory
    service principal, which we have not tested.
  • Protobuf needs a Schema Registry. A payload with no registered schema
    can't be decoded — there's no schemaless fallback.
  • Consumer group offsets can only be moved one topic at a time, and only
    while the group has no running members.
  • Single user. Your Windows account is the access boundary.
  • Signed, but only with a self-signed certificate, so expect a SmartScreen
    warning on first run and on each new version you download. A CA-issued
    certificate is still on the list.

Your data

Unchanged: everything stays on your machine. No account, no cloud service,
no telemetry.
Kafka messages stream from the broker and are held in memory
only, never written to disk.

The audit log is a local SQLite table and has always been one; this release
only adds a way to read it. Exporting it writes a file where you choose to put
it, and nowhere else.

diagnostic.log is plain text, and it records previews of message content
along with the addresses of clusters you connect to (never passwords). Read
Your data and security
before you attach it to a bug report, and read the preview before sending a
crash report, for the same reason.


Feedback wanted

In the Help menu.

Questions, ideas, or general feedback go to
Discussions. Found a
bug? Open an issue with
what you were doing, what you expected, and what happened, plus your Kafka
setup if it's a connection problem. After a crash or a failed connection, the
Report this… button does most of that for you.

Free to use, including commercially, with no seat limits. See
LICENSE for terms.