lct45 commented on pull request #9383: URL: https://github.com/apache/kafka/pull/9383#issuecomment-709396656
> Why do we use a size-1 byte array instead of a single byte for this field? @vvcephei There's a `RecordsFieldType` already created for `byte[]` but not one for `byte` so to get the `subscriptionInfo.json` to work I would've had to create a `RecordsFieldType` for `byte` and decided that leveraging the existing field type would be easier. If you're strongly opposed to this solution I can look into creating a new field type ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org