Build Your Own Kafka - Protocol Inspector Errata

In the protocol inspector is that it states that index values for COMPACT_ARRAY and COMPACT_STRING types should be VARINT (which uses zig-zag encoding).

It should say they use UNSIGNED_VARINT (which does not): Apache Kafka

Here is an example, but as far as I can tell every instance of COMPACT_ARRAY and COMPACT_STRING in the various binspec pages for different messages has this mistake.

COMPACT_ARRAY example: BinspecVisualizer

1 Like

Hey @Didgety, sorry for the delay in getting back to you!

Great catch! I’ve addressed the issue in this PR.

Let us know if you spot anything else.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.