gvdutra opened a new pull request, #22862: URL: https://github.com/apache/kafka/pull/22862
## What changed - explain that flexible message versions use compact encodings for variable-length fields - explicitly document that arrays use `COMPACT_ARRAY` instead of `ARRAY` - mention the related compact string and byte-array encodings, variable-length length prefix, and tagged-fields section ## Why The protocol primitive-type table lists compact encodings but did not explain when clients must use them. This left implementers to infer that flexible message versions use `COMPACT_ARRAY` and the other `COMPACT_*` types. ## Impact Client implementers can now determine the correct array encoding for flexible message versions directly from the wire-protocol guide. ## Validation - `./gradlew siteDocsTar` - `git diff --check` Generated-by: OpenAI Codex -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
