Repository navigation
StreamLens Studio v0.5.0 - pre-release
StreamLens Studio v0.5.0 — pre-release
This release is about knowing what the app is doing. A slow connection used to
look exactly like a hung one. A crash just closed the window and left nothing
behind to explain it. Both now leave a trace you can watch while it happens,
and one you can hand over afterwards.
Also here: a Reload button for the message list, and a welcome screen that
tells a new user what the app can do instead of showing them an empty window.
Still a pre-release, still Windows-only.
Getting started
- Download
StreamLens.exebelow. - Run it. Windows may show a SmartScreen warning, since this build isn't
code-signed yet. Choose More info → Run anyway. - 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.4.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
The Output panel
Tools → Windows → Output panel opens a live trace of what the app is
doing, much like Visual Studio's Output window. Connection steps, topic clicks
and refreshes all show up as they happen, with timings:
14:22:07.417 [Connection] Connect to Prod EU — started
14:22:27.902 [Connection] Connect to Prod EU — completed in 20485 ms
All of this was already going into diagnostic.log, but that file sits under
%LocalAppData% where nobody thinks to look in the middle of a task. So a
connection that took twenty seconds was impossible to tell apart from one that
had quietly died. Now the slow step says so while you're waiting on it.
Failures show in red and warnings in amber, which makes one bad step easy to
spot in a long run without reading every line. The controls in the header
strip collapse the panel down to its title bar, clear it, pin it open, and
switch off auto-scroll for when you want to read back through it without the
newest line yanking you away.
The panel keeps the most recent 2,000 lines. It isn't a second logging system,
either: every line still goes to the diagnostic log too, so what you watched
on screen and what ends up in a bug report can never disagree.
Crashes leave a report behind
An unhandled error used to kill the process in silence. The worst case was an
exception off the UI message loop, which took the app down before anything got
written at all: no log line, no Windows Application Error entry, nothing. The
app just vanished mid-click and you were left with no idea why.
Now every unhandled exception writes a self-contained report into
%LocalAppData%\StreamLensStudio\crashes\, named by timestamp. Each one holds
the build, the OS, the full exception chain, and the last 200 lines of the
diagnostic log. A notice appears in the corner telling you what happened, with
Show file to open the report and Report this crash to file it.
The 20 most recent reports are kept and older ones are pruned automatically.
Faulted background tasks get caught as well, so a failed refresh or consume
that used to disappear without a trace now leaves one.
Report a crash or a failed connection as a GitHub issue
Crash notices and failed connections both offer a button that prepares the
issue for you. The full report goes to your clipboard and your browser opens
the new-issue form with the title and a summary already filled in.
A failed connection's report is a different animal from a crash report.
Nothing has terminated, so there's no stack to capture. What it carries
instead is the connection's security protocol, its SASL mechanism, which
certificate paths were set, the error itself, and librdkafka's own log lines
for that attempt. Those last ones routinely name a cause that the managed
error message never mentions.
Nothing is uploaded. A preview opens first showing exactly what will be
shared, and you can edit it. These reports name clusters, bootstrap servers
and usernames, which for a Kafka tool means details about your internal
infrastructure. You submit the issue yourself, under your own account.
This is deliberate rather than unfinished. No credentials ship with the app,
because a desktop binary cannot keep a secret. Anything compiled in goes out
to every user and comes straight back out of the binary with a decompiler. The
trade-off is that a report only reaches us if you choose to send it, having
read it first.
Passwords are never in a report. The log records only whether one was
supplied.
Repeated broker errors no longer bury the real one
A single failed connection once wrote 1,661 identical librdkafka lines, with
the one line that actually named the cause buried somewhere in the middle.
Repeats are now collapsed, so the log reads like a diagnosis instead of a
wall.
Reload, on the Messages toolbar
Reload re-reads the current topic from its start position and replaces what's
on screen. The tab already did this whenever you changed Start, but there
was no way to ask for the same thing without changing a setting. That left one
workaround for a topic whose messages had moved on: close the tab and open it
again.
The button is disabled while a reload runs, because two overlapping reloads
end up racing over the same consumer.
A welcome screen that says what the app does
The empty startup window was wasting all the space either side of the
Connect button. Two cards now fill it: one covering what StreamLens can
do, and one with a rotating tip naming where each thing lives in the menus.
It's the kind of thing you'd otherwise stumble across by accident in month
two.
As the window narrows the cards drop away rather than squashing, so Connect
never gets clipped.
What's not in this release
Unchanged from v0.4.0:
- Windows only. The app won't start on macOS or Linux.
- No consumer-group lag, and offsets can't be reset from the app.
- Protobuf messages aren't decoded. String, JSON, and Avro work.
- No Kafka Connect, ksqlDB, or ACL management.
- Kerberos (GSSAPI) is offered but untested. SSL, SASL_SSL with SCRAM, and
mutual TLS are all exercised against a real broker; GSSAPI is not. - The audit log has no viewer yet.
- Single user. Your Windows account is the access boundary.
- Not code-signed, so expect a SmartScreen warning on first run, and on
each new version you download.
The sidebar width is remembered for the session but not across restarts.
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.
Crash and connection reports are new files on your machine, and they stay
there unless you send one. Nothing in this release uploads anything. The
once-a-day update check is still the only request StreamLens makes that isn't
to your own cluster, and it still carries nothing about you.
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.