jsancio commented on pull request #9819: URL: https://github.com/apache/kafka/pull/9819#issuecomment-761183234
Replying to https://github.com/apache/kafka/pull/9819#issuecomment-761119104 Thanks @hachikuji for thinking about this and for giving a detail reply. For the long term solution, I am trying to understand how we transition from `type: "records"` to `type: "bytes", zeroCopy="true"`. Outside of what you have enumerate, how would changing the type of a field work after the version bump? Would the generated message class need to support access to this field as both `BaseRecords` and `ZeroCopyBuffer`? Or would the generated class would just have `ZeroCopyBuffer`? In other words, what is the expectation of 3rd party clients with regards to the generated classes? ---------------------------------------------------------------- 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