Question about ea7: List for a single partition

Hi

In BinSpec for Kafka Cluster Metadata Log File. I found that the Batch-> Record → Length is not consistency

Example

  • Batch2 → Record 1 → Length is 1 byte

  • Batch2 → Record 2 → Length is 2 bytes

Any idea how to check it ?

Thanks

@tinnguyenhuuletrong Those lengths are VARINTs (Variable-width integers), meaning the number of bytes can vary.

Please note that the word variable here is an adjective (instead of a noun) which essentially means (that the width is) not fixed.

Gocha !
So i need to parse the Protobuf VARINT the

Thanks Andy for your help

1 Like

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