console icon indicating copy to clipboard operation
console copied to clipboard

Cap’n Proto Integration

Open carlocorradini opened this issue 1 year ago • 1 comments

First and foremost, thank you for this amazing product 🙌 Background: I'm using Cap'n Proto as a data exchange format for my payload, and like any other binary protocol, it's unreadable to humans. I've recently begun using Redpanda Console (so I'm a novice) and discovered the deserialization feature, which is exactly what I was looking for. Unfortunately, Cap'n Proto is currently unsupported, so I can only see a bunch of binary data. Is it possible to support Cap'n Proto? I can try to help/create a PR if you point me in the right direction (even if I am not a GO expert). Thanks 🥳

carlocorradini avatar Nov 25 '24 09:11 carlocorradini

Hey, adding new serializers and deserializers is quite easy - given an apropriate go lib for your format exists. Have a look at: https://github.com/redpanda-data/console/tree/master/backend/pkg/serde

There's also some frontend work required (mostly adding the new constant). I believe this CBOR PR was the latest SerDe addition, maybe that helps you: https://github.com/redpanda-data/console/commit/7fc9752bde819985fda119e485618f252c9ee31d

weeco avatar Nov 25 '24 11:11 weeco