Better HN
topnewbestaskshowjobs
Log inSign up

sauljp

57 karma · joined Jul 14, 2024 (2y ago) · 18 submissions

Submissions

1.

Show HN: Kaskade version 3 was released(github.com ↗)

1 points · by sauljp · 2y ago · discuss

comment 2y ago · link · parent

Working on it

comment 2y ago · link · parent

100%

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I guess both work :)

comment 2y ago · link · parent

100%

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Thanks!

comment 2y ago · link · parent

Totally agree

comment 2y ago · link · parent

about the first step: if you already have the .proto file you do not need to download it from schema registry

comment 2y ago · link · parent

thanks! that is awesome

comment 2y ago · link · parent

Hi! kaskade is more like AKHQ than Cruise control.

We use strimzi by default, so we deploy cruise control with kafka, and it takes care of rebalancing the data across the nodes. Also you can deploy it without strimzi.

Delete crap is more complicated, usually with kafka-delete-records (this is king of new I think). The problem is the offsets. By general rule you should not delete data from topics

comment 2y ago · link · parent

Hi! it validates if the message was (or not) generated for schema registry, it checks if the message has the schema registry magic bytes (this bytes has the schema id). so, it deserializes messages with or without schema registry.

This is the drawback: you have to generate the descriptor first.

1) download the schema from schema registry: http :8081/schemas/ids/<my-id>/schema

2) generate the descriptor with the schema: protoc --include_imports --descriptor_set_out=my-descriptor.desc --proto_path=. my-schema.proto

3) use kaskade: kaskade consumer -b my-kafka:9092 -x auto.offset.reset=earliest -k string -v protobuf -t my-protobuf-topic -p descriptor=my-descriptor.desc -p value=mypackage.MyMessage

comment 2y ago · link · parent

Install it:

brew install kaskade

pipx install kaskade

16.

Show HN: Kaskade – A text user interface for Kafka(github.com ↗)

164 points · by sauljp · 2y ago · 41 comments