Readit News logoReadit News
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
perezd · a year ago
It'd be cool if you supported the Buf Schema Registry's Reflection API: https://buf.build/docs/bsr/reflection/overview

Then, the descriptors could be delivered on demand!

sauljp · a year ago
Working on it
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
p_l · a year ago
Then use a message queue, not a log?

Honestly, probably a lot of Kafka woes (as a bystander) come from people using it as message queue when it's not one.

sauljp · a year ago
100%
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
cosmic_quanta · a year ago
> kafka is a piece of shit architecture

Hmmm interesting. I have only seen people rave about it, but haven't used it myself. Why is it shit architecture?

sauljp · a year ago
I do not think it is a shit arch. I think that is an arch for some problems, but people insist on using it for uses cases it was not built for.
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
lordgrenville · a year ago
I always thought TUI stood for "terminal user interface", though I guess "text" makes sense. First sentence of the Wikipedia article has both. https://en.wikipedia.org/wiki/Text-based_user_interface
sauljp · a year ago
I guess both work :)
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
blowski · a year ago
All other things being equal, Id prefer to use a tool written in a language with which I’m already comfortable. It’s nice to find a tool that meets my requirements _and_ I can easily read the source code.
sauljp · a year ago
100%
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
ddoolin · a year ago
Perfect! I had tried this last night before your comment (I saw these instructions in your README) but I was trying to include `-s url=` and `-s basic.auth...` which appears to force you into using `-k avro` or `-v avro`. But, once I removed the Schema Registry config options, I finally got the TUI showing up and was able to read messages! Thank you very much. Nearly all of my topics are Pb-encoded so I'll have to throw something together to get all the descriptors and perhaps abstract a bit. I love seeing the different uses of Textual coming out and this is no different; this is a big improvement from kcat IMO.
sauljp · a year ago
Hey ddoolin, It's so nice to read this, yes! kaskade ignores the schema registry metadata for json and protobuf messages generated for schema registry, you do not need to provide url (only in case of using avro).

The only catch (in the protobuf case) is to generate the descriptors with protoc, but the good thing is generally we all have them, so maybe is not a big problem.

sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
oulipo · a year ago
In Textual, I wanted to write a logging app with a big data table and filtering, and I'd hoped that it would be a bit more straightforward to write an optimized one

I guess it would be a nice addition to have some kind of FilterableDataTable with history, filtering, caching, and fast rendering

I guess you probably developed something like that for this tool, perhaps you could share it in Textual, or some kind of "textual widgets extension lib"?

sauljp · a year ago
Hi! I did not implemented something like that, but I can say this year textual has a great set of features and a nice community willing to help and share. I totally recommend textual.
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
kvakerok · a year ago
I'm not even going to ask why. Just start following the repo...
sauljp · a year ago
Thanks!
sauljp commented on Show HN: Kaskade – A text user interface for Kafka   github.com/sauljabin/kask... · Posted by u/sauljp
kvakerok · a year ago
If you have to manually delete data from topics, you are doing Kafka wrong. The whole point of it is high speed data throughput, so that something automated does it for you downstream.
sauljp · a year ago
Totally agree

u/sauljp

KarmaCake day57July 14, 2024View Original