Skip to content

Comment on Ask HN: How do you inspect Avro/Protobuf records during debugging?

Comments

Not a DE either, haven't been thru Avro, but I have worked with PB wire format quite a lot. Here's what I've used:

https://gchq.github.io/CyberChef/ - data transcoder pipeline, can do protobuf, among others. Very useful when you are debugging a custom encoder.

https://github.com/nccgroup/blackboxprotobuf - decodes wire format without a scheme.

Oh nice, thanks for these! Since you’ve worked with PB a lot - do you usually jump b/w different tools depending on the format (PB, Avro, JSON, etc.)? Or would having a single place to inspect multiple formats actually make debugging easier?

I haven't had the need to convert between different formats, only protobuf and a bit of Json. If I had too, I'd find python libraries akin to blackbox for each of them and use a ptpython shell - but then I'm more of a CLI person.

Thanks, appreciate the insight

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.